Skip to content

Commit 55f57d9

Browse files
fix(workflows): update the API
#### workflows:v1beta The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description #### workflows:v1 The following keys were changed: - resources.projects.resources.locations.methods.list.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description
1 parent 0b01739 commit 55f57d9

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

discovery/workflows-v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
]
136136
},
137137
"list": {
138-
"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.",
138+
"description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.",
139139
"flatPath": "v1/projects/{projectsId}/locations",
140140
"httpMethod": "GET",
141141
"id": "workflows.projects.locations.list",
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"extraLocationTypes": {
147-
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
147+
"description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
148148
"location": "query",
149149
"repeated": true,
150150
"type": "string"
@@ -496,7 +496,7 @@
496496
}
497497
}
498498
},
499-
"revision": "20260128",
499+
"revision": "20260422",
500500
"rootUrl": "https://workflows.googleapis.com/",
501501
"schemas": {
502502
"Empty": {

discovery/workflows-v1beta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
]
136136
},
137137
"list": {
138-
"description": "Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project.",
138+
"description": "Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.",
139139
"flatPath": "v1beta/projects/{projectsId}/locations",
140140
"httpMethod": "GET",
141141
"id": "workflows.projects.locations.list",
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"extraLocationTypes": {
147-
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
147+
"description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.",
148148
"location": "query",
149149
"repeated": true,
150150
"type": "string"
@@ -455,7 +455,7 @@
455455
}
456456
}
457457
},
458-
"revision": "20260128",
458+
"revision": "20260422",
459459
"rootUrl": "https://workflows.googleapis.com/",
460460
"schemas": {
461461
"Empty": {

src/apis/workflows/v1.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ export namespace workflows_v1 {
535535
}
536536

537537
/**
538-
* Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id\}/locations`. This may include public locations as well as private or other locations specifically visible to the project.
538+
* Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
539539
* @example
540540
* ```js
541541
* // Before running the sample:
@@ -565,7 +565,7 @@ export namespace workflows_v1 {
565565
*
566566
* // Do the magic
567567
* const res = await workflows.projects.locations.list({
568-
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
568+
* // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
569569
* extraLocationTypes: 'placeholder-value',
570570
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
571571
* filter: 'placeholder-value',
@@ -691,7 +691,7 @@ export namespace workflows_v1 {
691691
}
692692
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
693693
/**
694-
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
694+
* Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
695695
*/
696696
extraLocationTypes?: string[];
697697
/**

src/apis/workflows/v1beta.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ export namespace workflows_v1beta {
473473
}
474474

475475
/**
476-
* Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id\}/locations`. This may include public locations as well as private or other locations specifically visible to the project.
476+
* Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project\}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
477477
* @example
478478
* ```js
479479
* // Before running the sample:
@@ -503,7 +503,7 @@ export namespace workflows_v1beta {
503503
*
504504
* // Do the magic
505505
* const res = await workflows.projects.locations.list({
506-
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
506+
* // Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
507507
* extraLocationTypes: 'placeholder-value',
508508
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
509509
* filter: 'placeholder-value',
@@ -629,7 +629,7 @@ export namespace workflows_v1beta {
629629
}
630630
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
631631
/**
632-
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
632+
* Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
633633
*/
634634
extraLocationTypes?: string[];
635635
/**

0 commit comments

Comments
 (0)