diff --git a/.codegen/_openapi_sha b/.codegen/_openapi_sha index 4e0a18f57..12c62ec0b 100755 --- a/.codegen/_openapi_sha +++ b/.codegen/_openapi_sha @@ -1 +1 @@ -4ad0f0856225e3ebc6bb11392d09d63a19e6d140 \ No newline at end of file +86481d2fa23e3fb65128ea34b045fe585f7643f1 \ No newline at end of file diff --git a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GenerateDatabaseCredentialRequest.java b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GenerateDatabaseCredentialRequest.java index 4653f62dd..b9069139a 100755 --- a/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GenerateDatabaseCredentialRequest.java +++ b/databricks-sdk-java/src/main/java/com/databricks/sdk/service/database/GenerateDatabaseCredentialRequest.java @@ -12,13 +12,19 @@ @Generated public class GenerateDatabaseCredentialRequest { /** - * The returned token will be scoped to the union of instance_names and instances containing the - * specified UC tables, so instance_names is allowed to be empty. + * A set of UC permissions to add to the credential. We verify that the caller has the necessary + * permissions in UC and include a reference in the token. Postgres uses that token to give the + * connecting user additional grants to the Postgres resources that correspond to the UC + * resources. The UC resources need to be something that have a Postgres counterpart. For example, + * a synced table or a table in a UC database catalog. */ @JsonProperty("claims") private Collection claims; - /** Instances to which the token will be scoped. */ + /** + * Instances to request a credential for. At least one of instance_names or claims must be + * specified. + */ @JsonProperty("instance_names") private Collection instanceNames;