Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2772)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 5, 2024
1 parent 07782e2 commit 0c7c227
Show file tree
Hide file tree
Showing 26 changed files with 5,423 additions and 2,194 deletions.
227 changes: 220 additions & 7 deletions aiplatform/v1/aiplatform-api.json

Large diffs are not rendered by default.

737 changes: 729 additions & 8 deletions aiplatform/v1/aiplatform-gen.go

Large diffs are not rendered by default.

253 changes: 245 additions & 8 deletions aiplatform/v1beta1/aiplatform-api.json

Large diffs are not rendered by default.

393 changes: 379 additions & 14 deletions aiplatform/v1beta1/aiplatform-gen.go

Large diffs are not rendered by default.

504 changes: 502 additions & 2 deletions compute/v0.alpha/compute-api.json

Large diffs are not rendered by default.

277 changes: 275 additions & 2 deletions compute/v0.alpha/compute-gen.go

Large diffs are not rendered by default.

1,616 changes: 1,616 additions & 0 deletions compute/v0.alpha/compute2-gen.go

Large diffs are not rendered by default.

2,692 changes: 835 additions & 1,857 deletions compute/v0.alpha/compute3-gen.go

Large diffs are not rendered by default.

128 changes: 88 additions & 40 deletions discoveryengine/v1/discoveryengine-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -5986,7 +5986,7 @@
}
}
},
"revision": "20240826",
"revision": "20240829",
"rootUrl": "https://discoveryengine.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -6181,17 +6181,19 @@
"POTENTIAL_POLICY_VIOLATION",
"NO_RELEVANT_CONTENT",
"JAIL_BREAKING_QUERY_IGNORED",
"CUSTOMER_POLICY_VIOLATION"
"CUSTOMER_POLICY_VIOLATION",
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2"
],
"enumDescriptions": [
"Default value. The answer skipped reason is not specified.",
"The adversarial query ignored case.",
"The non-answer seeking query ignored case.",
"The non-answer seeking query ignored case Google skips the answer if the query is chit chat.",
"The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.",
"The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.",
"The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.",
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer."
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent."
],
"type": "string"
},
Expand Down Expand Up @@ -6436,13 +6438,15 @@
"TYPE_UNSPECIFIED",
"ADVERSARIAL_QUERY",
"NON_ANSWER_SEEKING_QUERY",
"JAIL_BREAKING_QUERY"
"JAIL_BREAKING_QUERY",
"NON_ANSWER_SEEKING_QUERY_V2"
],
"enumDescriptions": [
"Unspecified query classification type.",
"Adversarial query classification type.",
"Non-answer-seeking query classification type.",
"Jail-breaking query classification type."
"Non-answer-seeking query classification type, for chit chat.",
"Jail-breaking query classification type.",
"Non-answer-seeking query classification type, for no clear intent."
],
"type": "string"
},
Expand Down Expand Up @@ -6725,13 +6729,15 @@
"TYPE_UNSPECIFIED",
"ADVERSARIAL_QUERY",
"NON_ANSWER_SEEKING_QUERY",
"JAIL_BREAKING_QUERY"
"JAIL_BREAKING_QUERY",
"NON_ANSWER_SEEKING_QUERY_V2"
],
"enumDescriptions": [
"Unspecified query classification type.",
"Adversarial query classification type.",
"Non-answer-seeking query classification type.",
"Jail-breaking query classification type."
"Non-answer-seeking query classification type, for chit chat.",
"Jail-breaking query classification type.",
"Non-answer-seeking query classification type, for no clear intent."
],
"type": "string"
}
Expand Down Expand Up @@ -8392,6 +8398,11 @@
"description": "Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.",
"type": "string"
},
"indexStatus": {
"$ref": "GoogleCloudDiscoveryengineV1DocumentIndexStatus",
"description": "Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset.",
"readOnly": true
},
"indexTime": {
"description": "Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed.",
"format": "google-datetime",
Expand Down Expand Up @@ -8445,6 +8456,25 @@
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1DocumentIndexStatus": {
"description": "Index status of the document.",
"id": "GoogleCloudDiscoveryengineV1DocumentIndexStatus",
"properties": {
"errorSamples": {
"description": "A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors.",
"items": {
"$ref": "GoogleRpcStatus"
},
"type": "array"
},
"indexTime": {
"description": "The time when the document was indexed. If this field is populated, it means the document has been indexed.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudDiscoveryengineV1DocumentInfo": {
"description": "Detailed document information associated with a user event.",
"id": "GoogleCloudDiscoveryengineV1DocumentInfo",
Expand Down Expand Up @@ -10781,18 +10811,20 @@
"LLM_ADDON_NOT_ENABLED",
"NO_RELEVANT_CONTENT",
"JAIL_BREAKING_QUERY_IGNORED",
"CUSTOMER_POLICY_VIOLATION"
"CUSTOMER_POLICY_VIOLATION",
"NON_SUMMARY_SEEKING_QUERY_IGNORED_V2"
],
"enumDescriptions": [
"Default value. The summary skipped reason is not specified.",
"The adversarial query ignored case. Only used when SummarySpec.ignore_adversarial_query is set to `true`.",
"The non-summary seeking query ignored case. Only used when SummarySpec.ignore_non_summary_seeking_query is set to `true`.",
"The non-summary seeking query ignored case. Google skips the summary if the query is chit chat. Only used when SummarySpec.ignore_non_summary_seeking_query is set to `true`.",
"The out-of-domain query ignored case. Google skips the summary if there are no high-relevance search results. For example, the data store contains facts about company A but the user query is asking questions about company B.",
"The potential policy violation case. Google skips the summary if there is a potential policy violation detected. This includes content that may be violent or toxic.",
"The LLM addon not enabled case. Google skips the summary if the LLM addon is not enabled.",
"The no relevant content case. Google skips the summary if there is no relevant content in the retrieved search results.",
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] is set to `true`.",
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer."
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
"The non-answer seeking query ignored case. Google skips the summary if the query doesn't have clear intent. Only used when [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query] is set to `true`."
],
"type": "string"
},
Expand Down Expand Up @@ -11510,15 +11542,19 @@
"GOOGLE_MAIL",
"GOOGLE_SITES",
"GOOGLE_CALENDAR",
"GOOGLE_GROUPS"
"GOOGLE_CHAT",
"GOOGLE_GROUPS",
"GOOGLE_KEEP"
],
"enumDescriptions": [
"Default value.",
"The data store is used to store content from Google Drive.",
"The data store is used to store content from Gmail.",
"The data store is used to store content from Google Sites.",
"The data store is used to store content from Google Calendar.",
"The data store is used to store content from Google Groups."
"Defaults to an unspecified Workspace type.",
"Workspace Data Store contains Drive data",
"Workspace Data Store contains Mail data",
"Workspace Data Store contains Sites data",
"Workspace Data Store contains Calendar data",
"Workspace Data Store contains Chat data",
"Workspace Data Store contains Groups data",
"Workspace Data Store contains Keep data"
],
"type": "string"
}
Expand Down Expand Up @@ -11555,17 +11591,19 @@
"POTENTIAL_POLICY_VIOLATION",
"NO_RELEVANT_CONTENT",
"JAIL_BREAKING_QUERY_IGNORED",
"CUSTOMER_POLICY_VIOLATION"
"CUSTOMER_POLICY_VIOLATION",
"NON_ANSWER_SEEKING_QUERY_IGNORED_V2"
],
"enumDescriptions": [
"Default value. The answer skipped reason is not specified.",
"The adversarial query ignored case.",
"The non-answer seeking query ignored case.",
"The non-answer seeking query ignored case Google skips the answer if the query is chit chat.",
"The out-of-domain query ignored case. Google skips the answer if there are no high-relevance search results.",
"The potential policy violation case. Google skips the answer if there is a potential policy violation detected. This includes content that may be violent or toxic.",
"The no relevant content case. Google skips the answer if there is no relevant content in the retrieved search results.",
"The jail-breaking query ignored case. For example, \"Reply in the tone of a competing company's CEO\". Google skips the answer if the query is classified as a jail-breaking query.",
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer."
"The customer policy violation case. Google skips the summary if there is a customer policy violation detected. The policy is defined by the customer.",
"The non-answer seeking query ignored case. Google skips the answer if the query doesn't have clear intent."
],
"type": "string"
},
Expand Down Expand Up @@ -11705,13 +11743,15 @@
"TYPE_UNSPECIFIED",
"ADVERSARIAL_QUERY",
"NON_ANSWER_SEEKING_QUERY",
"JAIL_BREAKING_QUERY"
"JAIL_BREAKING_QUERY",
"NON_ANSWER_SEEKING_QUERY_V2"
],
"enumDescriptions": [
"Unspecified query classification type.",
"Adversarial query classification type.",
"Non-answer-seeking query classification type.",
"Jail-breaking query classification type."
"Non-answer-seeking query classification type, for chit chat.",
"Jail-breaking query classification type.",
"Non-answer-seeking query classification type, for no clear intent."
],
"type": "string"
}
Expand Down Expand Up @@ -15119,15 +15159,19 @@
"GOOGLE_MAIL",
"GOOGLE_SITES",
"GOOGLE_CALENDAR",
"GOOGLE_GROUPS"
"GOOGLE_CHAT",
"GOOGLE_GROUPS",
"GOOGLE_KEEP"
],
"enumDescriptions": [
"Default value.",
"The data store is used to store content from Google Drive.",
"The data store is used to store content from Gmail.",
"The data store is used to store content from Google Sites.",
"The data store is used to store content from Google Calendar.",
"The data store is used to store content from Google Groups."
"Defaults to an unspecified Workspace type.",
"Workspace Data Store contains Drive data",
"Workspace Data Store contains Mail data",
"Workspace Data Store contains Sites data",
"Workspace Data Store contains Calendar data",
"Workspace Data Store contains Chat data",
"Workspace Data Store contains Groups data",
"Workspace Data Store contains Keep data"
],
"type": "string"
}
Expand Down Expand Up @@ -17568,15 +17612,19 @@
"GOOGLE_MAIL",
"GOOGLE_SITES",
"GOOGLE_CALENDAR",
"GOOGLE_GROUPS"
"GOOGLE_CHAT",
"GOOGLE_GROUPS",
"GOOGLE_KEEP"
],
"enumDescriptions": [
"Default value.",
"The data store is used to store content from Google Drive.",
"The data store is used to store content from Gmail.",
"The data store is used to store content from Google Sites.",
"The data store is used to store content from Google Calendar.",
"The data store is used to store content from Google Groups."
"Defaults to an unspecified Workspace type.",
"Workspace Data Store contains Drive data",
"Workspace Data Store contains Mail data",
"Workspace Data Store contains Sites data",
"Workspace Data Store contains Calendar data",
"Workspace Data Store contains Chat data",
"Workspace Data Store contains Groups data",
"Workspace Data Store contains Keep data"
],
"type": "string"
}
Expand Down
Loading

0 comments on commit 0c7c227

Please sign in to comment.