Skip to content

Commit 1c7f028

Browse files
authored
Set default_from_api:true for scaling field (#15808)
1 parent b72afb0 commit 1c7f028

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mmv1/products/cloudrunv2/Service.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,15 +322,18 @@ properties:
322322
type: NestedObject
323323
description: |
324324
Scaling settings that apply to the whole service
325+
default_from_api: true
325326
properties:
326327
- name: 'minInstanceCount'
327328
type: Integer
328329
description: |
329330
Minimum number of instances for the service, to be divided among all revisions receiving traffic.
331+
default_from_api: true
330332
- name: 'maxInstanceCount'
331333
type: Integer
332334
description: |
333335
Combined maximum number of instances for all revisions receiving traffic.
336+
default_from_api: true
334337
- name: 'scalingMode'
335338
type: Enum
336339
description: |
@@ -342,6 +345,7 @@ properties:
342345
type: Integer
343346
description: |
344347
Total instance count for the service in manual scaling mode. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving.
348+
default_from_api: true
345349
- name: 'defaultUriDisabled'
346350
type: Boolean
347351
description: |-

0 commit comments

Comments
 (0)