Skip to content

Commit 0e2691e

Browse files
fix(workstations): update the API
1 parent 77bd0c9 commit 0e2691e

File tree

2 files changed

+62
-124
lines changed

2 files changed

+62
-124
lines changed

src/apis/workstations/v1.ts

Lines changed: 32 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,15 +1443,13 @@ export namespace workstations_v1 {
14431443
}
14441444
}
14451445

1446-
export interface Params$Resource$Projects$Locations$Get
1447-
extends StandardParameters {
1446+
export interface Params$Resource$Projects$Locations$Get extends StandardParameters {
14481447
/**
14491448
* Resource name for the location.
14501449
*/
14511450
name?: string;
14521451
}
1453-
export interface Params$Resource$Projects$Locations$List
1454-
extends StandardParameters {
1452+
export interface Params$Resource$Projects$Locations$List extends StandardParameters {
14551453
/**
14561454
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
14571455
*/
@@ -2038,8 +2036,7 @@ export namespace workstations_v1 {
20382036
}
20392037
}
20402038

2041-
export interface Params$Resource$Projects$Locations$Operations$Cancel
2042-
extends StandardParameters {
2039+
export interface Params$Resource$Projects$Locations$Operations$Cancel extends StandardParameters {
20432040
/**
20442041
* The name of the operation resource to be cancelled.
20452042
*/
@@ -2050,22 +2047,19 @@ export namespace workstations_v1 {
20502047
*/
20512048
requestBody?: Schema$CancelOperationRequest;
20522049
}
2053-
export interface Params$Resource$Projects$Locations$Operations$Delete
2054-
extends StandardParameters {
2050+
export interface Params$Resource$Projects$Locations$Operations$Delete extends StandardParameters {
20552051
/**
20562052
* The name of the operation resource to be deleted.
20572053
*/
20582054
name?: string;
20592055
}
2060-
export interface Params$Resource$Projects$Locations$Operations$Get
2061-
extends StandardParameters {
2056+
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
20622057
/**
20632058
* The name of the operation resource.
20642059
*/
20652060
name?: string;
20662061
}
2067-
export interface Params$Resource$Projects$Locations$Operations$List
2068-
extends StandardParameters {
2062+
export interface Params$Resource$Projects$Locations$Operations$List extends StandardParameters {
20692063
/**
20702064
* The standard list filter.
20712065
*/
@@ -2893,8 +2887,7 @@ export namespace workstations_v1 {
28932887
}
28942888
}
28952889

2896-
export interface Params$Resource$Projects$Locations$Workstationclusters$Create
2897-
extends StandardParameters {
2890+
export interface Params$Resource$Projects$Locations$Workstationclusters$Create extends StandardParameters {
28982891
/**
28992892
* Required. Parent resource name.
29002893
*/
@@ -2913,8 +2906,7 @@ export namespace workstations_v1 {
29132906
*/
29142907
requestBody?: Schema$WorkstationCluster;
29152908
}
2916-
export interface Params$Resource$Projects$Locations$Workstationclusters$Delete
2917-
extends StandardParameters {
2909+
export interface Params$Resource$Projects$Locations$Workstationclusters$Delete extends StandardParameters {
29182910
/**
29192911
* Optional. If set, the request will be rejected if the latest version of the workstation cluster on the server does not have this ETag.
29202912
*/
@@ -2932,15 +2924,13 @@ export namespace workstations_v1 {
29322924
*/
29332925
validateOnly?: boolean;
29342926
}
2935-
export interface Params$Resource$Projects$Locations$Workstationclusters$Get
2936-
extends StandardParameters {
2927+
export interface Params$Resource$Projects$Locations$Workstationclusters$Get extends StandardParameters {
29372928
/**
29382929
* Required. Name of the requested resource.
29392930
*/
29402931
name?: string;
29412932
}
2942-
export interface Params$Resource$Projects$Locations$Workstationclusters$List
2943-
extends StandardParameters {
2933+
export interface Params$Resource$Projects$Locations$Workstationclusters$List extends StandardParameters {
29442934
/**
29452935
* Optional. Filter the WorkstationClusters to be listed. Possible filters are described in https://google.aip.dev/160.
29462936
*/
@@ -2958,8 +2948,7 @@ export namespace workstations_v1 {
29582948
*/
29592949
parent?: string;
29602950
}
2961-
export interface Params$Resource$Projects$Locations$Workstationclusters$Patch
2962-
extends StandardParameters {
2951+
export interface Params$Resource$Projects$Locations$Workstationclusters$Patch extends StandardParameters {
29632952
/**
29642953
* Optional. If set, and the workstation cluster is not found, a new workstation cluster will be created. In this situation, update_mask is ignored.
29652954
*/
@@ -4438,8 +4427,7 @@ export namespace workstations_v1 {
44384427
}
44394428
}
44404429

4441-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create
4442-
extends StandardParameters {
4430+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Create extends StandardParameters {
44434431
/**
44444432
* Required. Parent resource name.
44454433
*/
@@ -4458,8 +4446,7 @@ export namespace workstations_v1 {
44584446
*/
44594447
requestBody?: Schema$WorkstationConfig;
44604448
}
4461-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete
4462-
extends StandardParameters {
4449+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Delete extends StandardParameters {
44634450
/**
44644451
* Optional. If set, the request is rejected if the latest version of the workstation configuration on the server does not have this ETag.
44654452
*/
@@ -4477,15 +4464,13 @@ export namespace workstations_v1 {
44774464
*/
44784465
validateOnly?: boolean;
44794466
}
4480-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get
4481-
extends StandardParameters {
4467+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Get extends StandardParameters {
44824468
/**
44834469
* Required. Name of the requested resource.
44844470
*/
44854471
name?: string;
44864472
}
4487-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy
4488-
extends StandardParameters {
4473+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Getiampolicy extends StandardParameters {
44894474
/**
44904475
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
44914476
*/
@@ -4495,8 +4480,7 @@ export namespace workstations_v1 {
44954480
*/
44964481
resource?: string;
44974482
}
4498-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List
4499-
extends StandardParameters {
4483+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$List extends StandardParameters {
45004484
/**
45014485
* Optional. Filter the WorkstationConfigs to be listed. Possible filters are described in https://google.aip.dev/160.
45024486
*/
@@ -4514,8 +4498,7 @@ export namespace workstations_v1 {
45144498
*/
45154499
parent?: string;
45164500
}
4517-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable
4518-
extends StandardParameters {
4501+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Listusable extends StandardParameters {
45194502
/**
45204503
* Optional. Maximum number of items to return.
45214504
*/
@@ -4529,8 +4512,7 @@ export namespace workstations_v1 {
45294512
*/
45304513
parent?: string;
45314514
}
4532-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch
4533-
extends StandardParameters {
4515+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Patch extends StandardParameters {
45344516
/**
45354517
* Optional. If set and the workstation configuration is not found, a new workstation configuration will be created. In this situation, update_mask is ignored.
45364518
*/
@@ -4553,8 +4535,7 @@ export namespace workstations_v1 {
45534535
*/
45544536
requestBody?: Schema$WorkstationConfig;
45554537
}
4556-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy
4557-
extends StandardParameters {
4538+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Setiampolicy extends StandardParameters {
45584539
/**
45594540
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
45604541
*/
@@ -4565,8 +4546,7 @@ export namespace workstations_v1 {
45654546
*/
45664547
requestBody?: Schema$SetIamPolicyRequest;
45674548
}
4568-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions
4569-
extends StandardParameters {
4549+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Testiampermissions extends StandardParameters {
45704550
/**
45714551
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
45724552
*/
@@ -6452,8 +6432,7 @@ export namespace workstations_v1 {
64526432
}
64536433
}
64546434

6455-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create
6456-
extends StandardParameters {
6435+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Create extends StandardParameters {
64576436
/**
64586437
* Required. Parent resource name.
64596438
*/
@@ -6472,8 +6451,7 @@ export namespace workstations_v1 {
64726451
*/
64736452
requestBody?: Schema$Workstation;
64746453
}
6475-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete
6476-
extends StandardParameters {
6454+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Delete extends StandardParameters {
64776455
/**
64786456
* Optional. If set, the request will be rejected if the latest version of the workstation on the server does not have this ETag.
64796457
*/
@@ -6487,8 +6465,7 @@ export namespace workstations_v1 {
64876465
*/
64886466
validateOnly?: boolean;
64896467
}
6490-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken
6491-
extends StandardParameters {
6468+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Generateaccesstoken extends StandardParameters {
64926469
/**
64936470
* Required. Name of the workstation for which the access token should be generated.
64946471
*/
@@ -6499,15 +6476,13 @@ export namespace workstations_v1 {
64996476
*/
65006477
requestBody?: Schema$GenerateAccessTokenRequest;
65016478
}
6502-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get
6503-
extends StandardParameters {
6479+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Get extends StandardParameters {
65046480
/**
65056481
* Required. Name of the requested resource.
65066482
*/
65076483
name?: string;
65086484
}
6509-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy
6510-
extends StandardParameters {
6485+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Getiampolicy extends StandardParameters {
65116486
/**
65126487
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
65136488
*/
@@ -6517,8 +6492,7 @@ export namespace workstations_v1 {
65176492
*/
65186493
resource?: string;
65196494
}
6520-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List
6521-
extends StandardParameters {
6495+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$List extends StandardParameters {
65226496
/**
65236497
* Optional. Filter the Workstations to be listed. Possible filters are described in https://google.aip.dev/160.
65246498
*/
@@ -6536,8 +6510,7 @@ export namespace workstations_v1 {
65366510
*/
65376511
parent?: string;
65386512
}
6539-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable
6540-
extends StandardParameters {
6513+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Listusable extends StandardParameters {
65416514
/**
65426515
* Optional. Maximum number of items to return.
65436516
*/
@@ -6551,8 +6524,7 @@ export namespace workstations_v1 {
65516524
*/
65526525
parent?: string;
65536526
}
6554-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch
6555-
extends StandardParameters {
6527+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Patch extends StandardParameters {
65566528
/**
65576529
* Optional. If set and the workstation configuration is not found, a new workstation configuration is created. In this situation, update_mask is ignored.
65586530
*/
@@ -6575,8 +6547,7 @@ export namespace workstations_v1 {
65756547
*/
65766548
requestBody?: Schema$Workstation;
65776549
}
6578-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy
6579-
extends StandardParameters {
6550+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Setiampolicy extends StandardParameters {
65806551
/**
65816552
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
65826553
*/
@@ -6587,8 +6558,7 @@ export namespace workstations_v1 {
65876558
*/
65886559
requestBody?: Schema$SetIamPolicyRequest;
65896560
}
6590-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start
6591-
extends StandardParameters {
6561+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Start extends StandardParameters {
65926562
/**
65936563
* Required. Name of the workstation to start.
65946564
*/
@@ -6599,8 +6569,7 @@ export namespace workstations_v1 {
65996569
*/
66006570
requestBody?: Schema$StartWorkstationRequest;
66016571
}
6602-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop
6603-
extends StandardParameters {
6572+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Stop extends StandardParameters {
66046573
/**
66056574
* Required. Name of the workstation to stop.
66066575
*/
@@ -6611,8 +6580,7 @@ export namespace workstations_v1 {
66116580
*/
66126581
requestBody?: Schema$StopWorkstationRequest;
66136582
}
6614-
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions
6615-
extends StandardParameters {
6583+
export interface Params$Resource$Projects$Locations$Workstationclusters$Workstationconfigs$Workstations$Testiampermissions extends StandardParameters {
66166584
/**
66176585
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
66186586
*/

0 commit comments

Comments
 (0)