Skip to content

Commit

Permalink
fix(recommendationengine): update the API
Browse files Browse the repository at this point in the history
#### recommendationengine:v1beta1

The following keys were changed:
- resources.projects.resources.locations.resources.catalogs.resources.catalogItems.methods.create.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.catalogItems.methods.delete.parameters.name.description
- resources.projects.resources.locations.resources.catalogs.resources.catalogItems.methods.get.parameters.name.description
- resources.projects.resources.locations.resources.catalogs.resources.catalogItems.methods.import.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.catalogItems.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.catalogItems.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.placements.methods.predict.parameters.name.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.predictionApiKeyRegistrations.methods.create.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.predictionApiKeyRegistrations.methods.delete.parameters.name.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.predictionApiKeyRegistrations.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.userEvents.methods.collect.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.userEvents.methods.import.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.userEvents.methods.list.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.userEvents.methods.purge.parameters.parent.description
- resources.projects.resources.locations.resources.catalogs.resources.eventStores.resources.userEvents.methods.rejoin.parameters.parent.description
- schemas.GoogleCloudRecommendationengineV1beta1GcsSource.properties.inputUris.description
  • Loading branch information
yoshi-automation authored and sofisl committed Apr 20, 2021
1 parent ac165ec commit da4ff7a
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 48 deletions.
34 changes: 17 additions & 17 deletions discovery/recommendationengine-v1beta1.json
Expand Up @@ -195,7 +195,7 @@
],
"parameters": {
"parent": {
"description": "Required. The parent catalog resource name, such as \"projects/*/locations/global/catalogs/default_catalog\".",
"description": "Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -223,7 +223,7 @@
],
"parameters": {
"name": {
"description": "Required. Full resource name of catalog item, such as \"projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id\".",
"description": "Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/catalogItems/.*$",
"required": true,
Expand All @@ -248,7 +248,7 @@
],
"parameters": {
"name": {
"description": "Required. Full resource name of catalog item, such as \"projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id\".",
"description": "Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogitems/some_catalog_item_id`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/catalogItems/.*$",
"required": true,
Expand All @@ -273,7 +273,7 @@
],
"parameters": {
"parent": {
"description": "Required. \"projects/1234/locations/global/catalogs/default_catalog\" If no updateMask is specified, requires catalogItems.create permission. If updateMask is specified, requires catalogItems.update permission.",
"description": "Required. `projects/1234/locations/global/catalogs/default_catalog` If no updateMask is specified, requires catalogItems.create permission. If updateMask is specified, requires catalogItems.update permission.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
"required": true,
Expand Down Expand Up @@ -317,7 +317,7 @@
"type": "string"
},
"parent": {
"description": "Required. The parent catalog resource name, such as \"projects/*/locations/global/catalogs/default_catalog\".",
"description": "Required. The parent catalog resource name, such as `projects/*/locations/global/catalogs/default_catalog`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+$",
"required": true,
Expand All @@ -342,7 +342,7 @@
],
"parameters": {
"name": {
"description": "Required. Full resource name of catalog item, such as \"projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id\".",
"description": "Required. Full resource name of catalog item, such as `projects/*/locations/global/catalogs/default_catalog/catalogItems/some_catalog_item_id`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/catalogItems/.*$",
"required": true,
Expand Down Expand Up @@ -452,7 +452,7 @@
],
"parameters": {
"name": {
"description": "Required. Full resource name of the format: {name=projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/placements/*} The id of the recommendation engine placement. This id is used to identify the set of models that will be used to make the prediction. We currently support three placements with the following IDs by default: * `shopping_cart`: Predicts items frequently bought together with one or more catalog items in the same shopping session. Commonly displayed after `add-to-cart` events, on product detail pages, or on the shopping cart page. * `home_page`: Predicts the next product that a user will most likely engage with or purchase based on the shopping or viewing history of the specified `userId` or `visitorId`. For example - Recommendations for you. * `product_detail`: Predicts the next product that a user will most likely engage with or purchase. The prediction is based on the shopping or viewing history of the specified `userId` or `visitorId` and its relevance to a specified `CatalogItem`. Typically used on product detail pages. For example - More items like this. * `recently_viewed_default`: Returns up to 75 items recently viewed by the specified `userId` or `visitorId`, most recent ones first. Returns nothing if neither of them has viewed any items yet. For example - Recently viewed. The full list of available placements can be seen at https://console.cloud.google.com/recommendation/datafeeds/default_catalog/dashboard",
"description": "Required. Full resource name of the format: `{name=projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/placements/*}` The id of the recommendation engine placement. This id is used to identify the set of models that will be used to make the prediction. We currently support three placements with the following IDs by default: * `shopping_cart`: Predicts items frequently bought together with one or more catalog items in the same shopping session. Commonly displayed after `add-to-cart` events, on product detail pages, or on the shopping cart page. * `home_page`: Predicts the next product that a user will most likely engage with or purchase based on the shopping or viewing history of the specified `userId` or `visitorId`. For example - Recommendations for you. * `product_detail`: Predicts the next product that a user will most likely engage with or purchase. The prediction is based on the shopping or viewing history of the specified `userId` or `visitorId` and its relevance to a specified `CatalogItem`. Typically used on product detail pages. For example - More items like this. * `recently_viewed_default`: Returns up to 75 items recently viewed by the specified `userId` or `visitorId`, most recent ones first. Returns nothing if neither of them has viewed any items yet. For example - Recently viewed. The full list of available placements can be seen at https://console.cloud.google.com/recommendation/datafeeds/default_catalog/dashboard",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+/placements/[^/]+$",
"required": true,
Expand Down Expand Up @@ -484,7 +484,7 @@
],
"parameters": {
"parent": {
"description": "Required. The parent resource path. \"projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store\".",
"description": "Required. The parent resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand Down Expand Up @@ -512,7 +512,7 @@
],
"parameters": {
"name": {
"description": "Required. The API key to unregister including full resource path. \"projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/\"",
"description": "Required. The API key to unregister including full resource path. `projects/*/locations/global/catalogs/default_catalog/eventStores/default_event_store/predictionApiKeyRegistrations/`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+/predictionApiKeyRegistrations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -548,7 +548,7 @@
"type": "string"
},
"parent": {
"description": "Required. The parent placement resource name such as \"projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store\"",
"description": "Required. The parent placement resource name such as `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand Down Expand Up @@ -583,7 +583,7 @@
"type": "string"
},
"parent": {
"description": "Required. The parent eventStore name, such as \"projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store\".",
"description": "Required. The parent eventStore name, such as `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand Down Expand Up @@ -618,7 +618,7 @@
],
"parameters": {
"parent": {
"description": "Required. \"projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store\"",
"description": "Required. `projects/1234/locations/global/catalogs/default_catalog/eventStores/default_event_store`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand Down Expand Up @@ -662,7 +662,7 @@
"type": "string"
},
"parent": {
"description": "Required. The parent eventStore resource name, such as \"projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store\".",
"description": "Required. The parent eventStore resource name, such as `projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand All @@ -687,7 +687,7 @@
],
"parameters": {
"parent": {
"description": "Required. The resource name of the event_store under which the events are created. The format is \"projects/${projectId}/locations/global/catalogs/${catalogId}/eventStores/${eventStoreId}\"",
"description": "Required. The resource name of the event_store under which the events are created. The format is `projects/${projectId}/locations/global/catalogs/${catalogId}/eventStores/${eventStoreId}`",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand Down Expand Up @@ -715,7 +715,7 @@
],
"parameters": {
"parent": {
"description": "Required. Full resource name of user event, such as \"projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store\".",
"description": "Required. Full resource name of user event, such as `projects/*/locations/*/catalogs/default_catalog/eventStores/default_event_store`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/catalogs/[^/]+/eventStores/[^/]+$",
"required": true,
Expand Down Expand Up @@ -842,7 +842,7 @@
}
}
},
"revision": "20210319",
"revision": "20210409",
"rootUrl": "https://recommendationengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -1169,7 +1169,7 @@
"id": "GoogleCloudRecommendationengineV1beta1GcsSource",
"properties": {
"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 catalog information](/recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions.",
"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 catalog information](/recommendations-ai/docs/upload-catalog) for the expected file format and setup instructions.",
"items": {
"type": "string"
},
Expand Down

0 comments on commit da4ff7a

Please sign in to comment.