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:
- schemas.GoogleCloudRecommendationengineV1beta1PredictRequest.properties.userEvent.description
- schemas.GoogleCloudRecommendationengineV1beta1UserInfo.properties.userId.description
- schemas.GoogleCloudRecommendationengineV1beta1UserInfo.properties.visitorId.description
- schemas.GoogleProtobufEmpty.description
  • Loading branch information
yoshi-automation authored and sofisl committed May 6, 2022
1 parent 8f8cf82 commit 775fce4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions discovery/recommendationengine-v1beta1.json
Expand Up @@ -842,7 +842,7 @@
}
}
},
"revision": "20211211",
"revision": "20220428",
"rootUrl": "https://recommendationengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -1465,7 +1465,7 @@
},
"userEvent": {
"$ref": "GoogleCloudRecommendationengineV1beta1UserEvent",
"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."
"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 UserInfo.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 UserInfo.visitor_id to a random unique ID and leave UserInfo.user_id unset."
}
},
"type": "object"
Expand Down Expand Up @@ -1945,11 +1945,11 @@
"type": "string"
},
"userId": {
"description": "Optional. Unique identifier for logged-in user with a length limit of 128 bytes. Required only for logged-in users.",
"description": "Optional. Unique identifier for logged-in user with a length limit of 128 bytes. Required only for logged-in users. Don't set for anonymous users. 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.",
"type": "string"
},
"visitorId": {
"description": "Required. A unique identifier for tracking visitors with a length limit of 128 bytes. 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. Maximum length 128 bytes. Cannot be empty.",
"description": "Required. A unique identifier for tracking visitors with a length limit of 128 bytes. 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. Maximum length 128 bytes. Cannot be empty. 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.",
"type": "string"
}
},
Expand Down Expand Up @@ -2009,7 +2009,7 @@
"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 `{}`.",
"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"
Expand Down
8 changes: 4 additions & 4 deletions src/apis/recommendationengine/v1beta1.ts
Expand Up @@ -610,7 +610,7 @@ export namespace recommendationengine_v1beta1 {
*/
params?: {[key: string]: any} | null;
/**
* 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.
* 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 UserInfo.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 UserInfo.visitor_id to a random unique ID and leave UserInfo.user_id unset.
*/
userEvent?: Schema$GoogleCloudRecommendationengineV1beta1UserEvent;
}
Expand Down Expand Up @@ -939,11 +939,11 @@ export namespace recommendationengine_v1beta1 {
*/
userAgent?: string | null;
/**
* Optional. Unique identifier for logged-in user with a length limit of 128 bytes. Required only for logged-in users.
* Optional. Unique identifier for logged-in user with a length limit of 128 bytes. Required only for logged-in users. Don't set for anonymous users. 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.
*/
userId?: string | null;
/**
* Required. A unique identifier for tracking visitors with a length limit of 128 bytes. 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. Maximum length 128 bytes. Cannot be empty.
* Required. A unique identifier for tracking visitors with a length limit of 128 bytes. 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. Maximum length 128 bytes. Cannot be empty. 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.
*/
visitorId?: string | null;
}
Expand Down Expand Up @@ -986,7 +986,7 @@ export namespace recommendationengine_v1beta1 {
response?: {[key: string]: any} | null;
}
/**
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} The JSON representation for `Empty` is empty JSON object `{\}`.
* A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \}
*/
export interface Schema$GoogleProtobufEmpty {}
/**
Expand Down

0 comments on commit 775fce4

Please sign in to comment.