You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Optional. The scheduling policy to use for jobs and queries of this assignee when running under the associated reservation. The scheduling policy controls how the reservation's resources are distributed. This overrides the default scheduling policy specified on the reservation. This feature is not yet generally available."
1319
+
},
1316
1320
"state": {
1317
1321
"description": "Output only. State of the assignment.",
1318
1322
"enum": [
@@ -1916,6 +1920,10 @@
1916
1920
],
1917
1921
"type": "string"
1918
1922
},
1923
+
"schedulingPolicy": {
1924
+
"$ref": "SchedulingPolicy",
1925
+
"description": "Optional. The scheduling policy to use for jobs and queries running under this reservation. The scheduling policy controls how the reservation's resources are distributed. This feature is not yet generally available."
1926
+
},
1919
1927
"secondaryLocation": {
1920
1928
"description": "Optional. The current location of the reservation's secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).",
1921
1929
"type": "string"
@@ -1945,6 +1953,23 @@
1945
1953
},
1946
1954
"type": "object"
1947
1955
},
1956
+
"SchedulingPolicy": {
1957
+
"description": "The scheduling policy controls how a reservation's resources are distributed.",
1958
+
"id": "SchedulingPolicy",
1959
+
"properties": {
1960
+
"concurrency": {
1961
+
"description": "Optional. If present and > 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value. This feature is not yet generally available.",
1962
+
"format": "int64",
1963
+
"type": "string"
1964
+
},
1965
+
"maxSlots": {
1966
+
"description": "Optional. If present and > 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value. This feature is not yet generally available.",
1967
+
"format": "int64",
1968
+
"type": "string"
1969
+
}
1970
+
},
1971
+
"type": "object"
1972
+
},
1948
1973
"SearchAllAssignmentsResponse": {
1949
1974
"description": "The response for ReservationService.SearchAllAssignments.",
* Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.
145
145
*/
146
146
name?: string|null;
147
+
/**
148
+
* Optional. The scheduling policy to use for jobs and queries of this assignee when running under the associated reservation. The scheduling policy controls how the reservation's resources are distributed. This overrides the default scheduling policy specified on the reservation. This feature is not yet generally available.
* Optional. The scaling mode for the reservation. If the field is present but max_slots is not present, requests will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.
490
494
*/
491
495
scalingMode?: string|null;
496
+
/**
497
+
* Optional. The scheduling policy to use for jobs and queries running under this reservation. The scheduling policy controls how the reservation's resources are distributed. This feature is not yet generally available.
498
+
*/
499
+
schedulingPolicy?: Schema$SchedulingPolicy;
492
500
/**
493
501
* Optional. The current location of the reservation's secondary replica. This field is only set for reservations using the managed disaster recovery feature. Users can set this in create reservation calls to create a failover reservation or in update reservation calls to convert a non-failover reservation to a failover reservation(or vice versa).
* The scheduling policy controls how a reservation's resources are distributed.
524
+
*/
525
+
exportinterfaceSchema$SchedulingPolicy{
526
+
/**
527
+
* Optional. If present and \> 0, the reservation will attempt to limit the concurrency of jobs running for any particular project within it to the given value. This feature is not yet generally available.
528
+
*/
529
+
concurrency?: string|null;
530
+
/**
531
+
* Optional. If present and \> 0, the reservation will attempt to limit the slot consumption of queries running for any particular project within it to the given value. This feature is not yet generally available.
532
+
*/
533
+
maxSlots?: string|null;
534
+
}
514
535
/**
515
536
* The response for ReservationService.SearchAllAssignments.
0 commit comments