Skip to content

Commit 2a7f8ca

Browse files
feat(serviceconsumermanagement): update the API
#### serviceconsumermanagement:v1beta1 The following keys were added: - schemas.V1Beta1ServiceIdentity.properties.projectRole.description - schemas.V1Beta1ServiceIdentity.properties.projectRole.type #### serviceconsumermanagement:v1 The following keys were added: - resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type - schemas.V1Beta1ServiceIdentity.properties.projectRole.description - schemas.V1Beta1ServiceIdentity.properties.projectRole.type
1 parent 54fb15f commit 2a7f8ca

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

discovery/serviceconsumermanagement-v1.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@
216216
"description": "The standard list page token.",
217217
"location": "query",
218218
"type": "string"
219+
},
220+
"returnPartialSuccess": {
221+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
222+
"location": "query",
223+
"type": "boolean"
219224
}
220225
},
221226
"path": "v1/{+name}",
@@ -542,7 +547,7 @@
542547
}
543548
}
544549
},
545-
"revision": "20250919",
550+
"revision": "20251023",
546551
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
547552
"schemas": {
548553
"AddTenantProjectRequest": {
@@ -1789,6 +1794,13 @@
17891794
"$ref": "Operation"
17901795
},
17911796
"type": "array"
1797+
},
1798+
"unreachable": {
1799+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
1800+
"items": {
1801+
"type": "string"
1802+
},
1803+
"type": "array"
17921804
}
17931805
},
17941806
"type": "object"
@@ -3328,6 +3340,10 @@
33283340
"description": "P4 service identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/default`",
33293341
"type": "string"
33303342
},
3343+
"projectRole": {
3344+
"description": "The project-level IAM role defined in the service agent's grant configuration. This is the standard role intended for this service agent. This field is populated regardless of the `skip_role_attach` option in the request. If `skip_role_attach` is true, the caller can use this value to know which role they are responsible for granting.",
3345+
"type": "string"
3346+
},
33313347
"tag": {
33323348
"description": "The P4 service identity configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to \"default\".",
33333349
"type": "string"

discovery/serviceconsumermanagement-v1beta1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@
724724
}
725725
}
726726
},
727-
"revision": "20250919",
727+
"revision": "20251023",
728728
"rootUrl": "https://serviceconsumermanagement.googleapis.com/",
729729
"schemas": {
730730
"Api": {
@@ -3452,6 +3452,10 @@
34523452
"description": "P4 service identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/default`",
34533453
"type": "string"
34543454
},
3455+
"projectRole": {
3456+
"description": "The project-level IAM role defined in the service agent's grant configuration. This is the standard role intended for this service agent. This field is populated regardless of the `skip_role_attach` option in the request. If `skip_role_attach` is true, the caller can use this value to know which role they are responsible for granting.",
3457+
"type": "string"
3458+
},
34553459
"tag": {
34563460
"description": "The P4 service identity configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to \"default\".",
34573461
"type": "string"

src/apis/serviceconsumermanagement/v1.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,10 @@ export namespace serviceconsumermanagement_v1 {
10091009
* A list of operations that matches the specified filter in the request.
10101010
*/
10111011
operations?: Schema$Operation[];
1012+
/**
1013+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1014+
*/
1015+
unreachable?: string[] | null;
10121016
}
10131017
/**
10141018
* Response for the list request.
@@ -2067,6 +2071,10 @@ export namespace serviceconsumermanagement_v1 {
20672071
* P4 service identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/default`
20682072
*/
20692073
name?: string | null;
2074+
/**
2075+
* The project-level IAM role defined in the service agent's grant configuration. This is the standard role intended for this service agent. This field is populated regardless of the `skip_role_attach` option in the request. If `skip_role_attach` is true, the caller can use this value to know which role they are responsible for granting.
2076+
*/
2077+
projectRole?: string | null;
20702078
/**
20712079
* The P4 service identity configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to "default".
20722080
*/
@@ -2625,13 +2633,16 @@ export namespace serviceconsumermanagement_v1 {
26252633
* pageSize: 'placeholder-value',
26262634
* // The standard list page token.
26272635
* pageToken: 'placeholder-value',
2636+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2637+
* returnPartialSuccess: 'placeholder-value',
26282638
* });
26292639
* console.log(res.data);
26302640
*
26312641
* // Example response
26322642
* // {
26332643
* // "nextPageToken": "my_nextPageToken",
2634-
* // "operations": []
2644+
* // "operations": [],
2645+
* // "unreachable": []
26352646
* // }
26362647
* }
26372648
*
@@ -2772,6 +2783,10 @@ export namespace serviceconsumermanagement_v1 {
27722783
* The standard list page token.
27732784
*/
27742785
pageToken?: string;
2786+
/**
2787+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2788+
*/
2789+
returnPartialSuccess?: boolean;
27752790
}
27762791

27772792
export class Resource$Services {

src/apis/serviceconsumermanagement/v1beta1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,6 +2130,10 @@ export namespace serviceconsumermanagement_v1beta1 {
21302130
* P4 service identity resource name. An example name would be: `services/serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/default`
21312131
*/
21322132
name?: string | null;
2133+
/**
2134+
* The project-level IAM role defined in the service agent's grant configuration. This is the standard role intended for this service agent. This field is populated regardless of the `skip_role_attach` option in the request. If `skip_role_attach` is true, the caller can use this value to know which role they are responsible for granting.
2135+
*/
2136+
projectRole?: string | null;
21332137
/**
21342138
* The P4 service identity configuration tag. This must be defined in activation_grants. If not specified when creating the account, the tag is set to "default".
21352139
*/

0 commit comments

Comments
 (0)