Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2237

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 63 additions & 3 deletions aiplatform/v1/aiplatform-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -12998,7 +12998,7 @@
}
}
},
"revision": "20231012",
"revision": "20231023",
"rootUrl": "https://aiplatform.googleapis.com/",
"schemas": {
"GoogleApiHttpBody": {
Expand Down Expand Up @@ -14711,7 +14711,7 @@
"type": "string"
},
"protectedArtifactLocationId": {
"description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. For unprotected artifacts, the value of this field is ignored. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations",
"description": "The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations",
"type": "string"
},
"reservedIpRanges": {
Expand Down Expand Up @@ -26815,7 +26815,7 @@
"type": "object"
},
"GoogleCloudAiplatformV1Study": {
"description": "A message representing a Study.",
"description": "A message representing a Study. Next id: 12",
"id": "GoogleCloudAiplatformV1Study",
"properties": {
"createTime": {
Expand Down Expand Up @@ -26933,6 +26933,10 @@
"$ref": "GoogleCloudAiplatformV1StudySpecParameterSpec"
},
"type": "array"
},
"studyStoppingConfig": {
"$ref": "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig",
"description": "Conditions for automated stopping of a Study. Enable automated stopping by configuring at least one condition."
}
},
"type": "object"
Expand Down Expand Up @@ -27238,6 +27242,62 @@
},
"type": "object"
},
"GoogleCloudAiplatformV1StudySpecStudyStoppingConfig": {
"description": "The configuration (stopping conditions) for automated stopping of a Study. Conditions include trial budgets, time budgets, and convergence detection.",
"id": "GoogleCloudAiplatformV1StudySpecStudyStoppingConfig",
"properties": {
"maxDurationNoProgress": {
"description": "If the objective value has not improved for this much time, stop the study. WARNING: Effective only for single-objective studies.",
"format": "google-duration",
"type": "string"
},
"maxNumTrials": {
"description": "If there are more than this many trials, stop the study.",
"format": "int32",
"type": "integer"
},
"maxNumTrialsNoProgress": {
"description": "If the objective value has not improved for this many consecutive trials, stop the study. WARNING: Effective only for single-objective studies.",
"format": "int32",
"type": "integer"
},
"maximumRuntimeConstraint": {
"$ref": "GoogleCloudAiplatformV1StudyTimeConstraint",
"description": "If the specified time or duration has passed, stop the study."
},
"minNumTrials": {
"description": "If there are fewer than this many COMPLETED trials, do not stop the study.",
"format": "int32",
"type": "integer"
},
"minimumRuntimeConstraint": {
"$ref": "GoogleCloudAiplatformV1StudyTimeConstraint",
"description": "Each \"stopping rule\" in this proto specifies an \"if\" condition. Before Vizier would generate a new suggestion, it first checks each specified stopping rule, from top to bottom in this list. Note that the first few rules (e.g. minimum_runtime_constraint, min_num_trials) will prevent other stopping rules from being evaluated until they are met. For example, setting `min_num_trials=5` and `always_stop_after= 1 hour` means that the Study will ONLY stop after it has 5 COMPLETED trials, even if more than an hour has passed since its creation. It follows the first applicable rule (whose \"if\" condition is satisfied) to make a stopping decision. If none of the specified rules are applicable, then Vizier decides that the study should not stop. If Vizier decides that the study should stop, the study enters STOPPING state (or STOPPING_ASAP if should_stop_asap = true). IMPORTANT: The automatic study state transition happens precisely as described above; that is, deleting trials or updating StudyConfig NEVER automatically moves the study state back to ACTIVE. If you want to _resume_ a Study that was stopped, 1) change the stopping conditions if necessary, 2) activate the study, and then 3) ask for suggestions. If the specified time or duration has not passed, do not stop the study."
},
"shouldStopAsap": {
"description": "If true, a Study enters STOPPING_ASAP whenever it would normally enters STOPPING state. The bottom line is: set to true if you want to interrupt on-going evaluations of Trials as soon as the study stopping condition is met. (Please see Study.State documentation for the source of truth).",
"type": "boolean"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1StudyTimeConstraint": {
"description": "Time-based Constraint for Study",
"id": "GoogleCloudAiplatformV1StudyTimeConstraint",
"properties": {
"endTime": {
"description": "Compares the wallclock time to this time. Must use UTC timezone.",
"format": "google-datetime",
"type": "string"
},
"maxDuration": {
"description": "Counts the wallclock time passed since the creation of this Study.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudAiplatformV1SuggestTrialsMetadata": {
"description": "Details of operations that perform Trials suggestion.",
"id": "GoogleCloudAiplatformV1SuggestTrialsMetadata",
Expand Down
125 changes: 122 additions & 3 deletions aiplatform/v1/aiplatform-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading