Skip to content

Commit c6f5e19

Browse files
feat: Add Identity to the apphub service and workload (GoogleCloudPlatform#15748)
1 parent 8b17a6e commit c6f5e19

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

mmv1/products/apphub/Service.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,15 @@ properties:
190190
type: String
191191
description: "The resource name for the Extended Metadata Schema."
192192
output: true
193+
- name: 'identity'
194+
type: NestedObject
195+
description: "The identity associated with the service."
196+
output: true
197+
properties:
198+
- name: 'principal'
199+
type: String
200+
description: "The principal of the identity."
201+
output: true
193202
- name: 'attributes'
194203
type: NestedObject
195204
description: 'Consumer provided attributes.'

mmv1/products/apphub/Workload.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,15 @@ properties:
173173
type: String
174174
description: "The resource name for the Extended Metadata Schema."
175175
output: true
176+
- name: 'identity'
177+
type: NestedObject
178+
description: "The identity associated with the workload."
179+
output: true
180+
properties:
181+
- name: 'principal'
182+
type: String
183+
description: "The principal of the identity."
184+
output: true
176185
- name: 'discoveredWorkload'
177186
type: String
178187
description: 'Immutable. The resource name of the original discovered workload.'

0 commit comments

Comments
 (0)