Skip to content

Commit

Permalink
feat: Generate Google.Apis.CloudWorkstations.v1beta version 1.68.0.3623
Browse files Browse the repository at this point in the history
  • Loading branch information
amanda-tarafa committed Dec 9, 2024
1 parent 221e34e commit 4c1935f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 14 deletions.
12 changes: 6 additions & 6 deletions DiscoveryJson/workstations.v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"operations": {
"methods": {
"cancel": {
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "workstations.projects.locations.operations.cancel",
Expand Down Expand Up @@ -805,7 +805,7 @@
]
},
"generateAccessToken": {
"description": "Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.",
"description": "Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation. Once generated this token cannot be revoked and is good for the lifetime of the token.",
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}/workstations/{workstationsId}:generateAccessToken",
"httpMethod": "POST",
"id": "workstations.projects.locations.workstationClusters.workstationConfigs.workstations.generateAccessToken",
Expand Down Expand Up @@ -1127,7 +1127,7 @@
}
}
},
"revision": "20241009",
"revision": "20241202",
"rootUrl": "https://workstations.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -1217,7 +1217,7 @@
"type": "object"
},
"BoostConfig": {
"description": "A configuration that workstations can boost to.",
"description": "A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the boost config by passing the boost config id in the start request. If no boost config id is provided in the start request, the system will choose a VM from the pool provisioned under the default config.",
"id": "BoostConfig",
"properties": {
"accelerators": {
Expand All @@ -1237,7 +1237,7 @@
"type": "boolean"
},
"id": {
"description": "Optional. Required. The id to be used for the boost configuration.",
"description": "Required. The id to be used for the boost configuration.",
"type": "string"
},
"machineType": {
Expand Down Expand Up @@ -1386,7 +1386,7 @@
"type": "array"
},
"boostConfigs": {
"description": "Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use.",
"description": "Optional. A list of the boost configurations that workstations created using this workstation configuration are allowed to use. If specified, users will have the option to choose from the list of boost configs when starting a workstation.",
"items": {
"$ref": "BoostConfig"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public OperationsResource(Google.Apis.Services.IClientService service)
/// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to
/// check whether the cancellation succeeded or whether the operation completed despite cancellation. On
/// successful cancellation, the operation is not deleted; instead, it becomes an operation with an
/// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
/// Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
/// </summary>
/// <param name="body">The body of the request.</param>
/// <param name="name">The name of the operation resource to be cancelled.</param>
Expand All @@ -334,7 +334,7 @@ public virtual CancelRequest Cancel(Google.Apis.CloudWorkstations.v1beta.Data.Ca
/// returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to
/// check whether the cancellation succeeded or whether the operation completed despite cancellation. On
/// successful cancellation, the operation is not deleted; instead, it becomes an operation with an
/// Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
/// Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
/// </summary>
public class CancelRequest : CloudWorkstationsBaseServiceRequest<Google.Apis.CloudWorkstations.v1beta.Data.GoogleProtobufEmpty>
{
Expand Down Expand Up @@ -782,7 +782,8 @@ protected override void InitParameters()

/// <summary>
/// Returns a short-lived credential that can be used to send authenticated and authorized
/// traffic to a workstation.
/// traffic to a workstation. Once generated this token cannot be revoked and is good for the
/// lifetime of the token.
/// </summary>
/// <param name="body">The body of the request.</param>
/// <param name="workstation">
Expand All @@ -795,7 +796,8 @@ public virtual GenerateAccessTokenRequest GenerateAccessToken(Google.Apis.CloudW

/// <summary>
/// Returns a short-lived credential that can be used to send authenticated and authorized
/// traffic to a workstation.
/// traffic to a workstation. Once generated this token cannot be revoked and is good for the
/// lifetime of the token.
/// </summary>
public class GenerateAccessTokenRequest : CloudWorkstationsBaseServiceRequest<Google.Apis.CloudWorkstations.v1beta.Data.GenerateAccessTokenResponse>
{
Expand Down Expand Up @@ -2665,7 +2667,12 @@ public class Binding : Google.Apis.Requests.IDirectResponseSchema
public virtual string ETag { get; set; }
}

/// <summary>A configuration that workstations can boost to.</summary>
/// <summary>
/// A boost configuration is a set of resources that a workstation can use to increase its performance. If a boost
/// configuration is specified, when starting a workstation, users can choose to use a VM provisioned under the
/// boost config by passing the boost config id in the start request. If no boost config id is provided in the start
/// request, the system will choose a VM from the pool provisioned under the default config.
/// </summary>
public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema
{
/// <summary>
Expand Down Expand Up @@ -2700,7 +2707,7 @@ public class BoostConfig : Google.Apis.Requests.IDirectResponseSchema
[Newtonsoft.Json.JsonPropertyAttribute("enableNestedVirtualization")]
public virtual System.Nullable<bool> EnableNestedVirtualization { get; set; }

/// <summary>Optional. Required. The id to be used for the boost configuration.</summary>
/// <summary>Required. The id to be used for the boost configuration.</summary>
[Newtonsoft.Json.JsonPropertyAttribute("id")]
public virtual string Id { get; set; }

Expand Down Expand Up @@ -2892,7 +2899,8 @@ public class GceInstance : Google.Apis.Requests.IDirectResponseSchema

/// <summary>
/// Optional. A list of the boost configurations that workstations created using this workstation configuration
/// are allowed to use.
/// are allowed to use. If specified, users will have the option to choose from the list of boost configs when
/// starting a workstation.
/// </summary>
[Newtonsoft.Json.JsonPropertyAttribute("boostConfigs")]
public virtual System.Collections.Generic.IList<BoostConfig> BoostConfigs { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- nupkg information -->
<PropertyGroup>
<Title>Google.Apis.CloudWorkstations.v1beta Client Library</Title>
<Version>1.68.0.3569</Version>
<Version>1.68.0.3623</Version>
<Authors>Google LLC</Authors>
<Copyright>Copyright 2024 Google LLC</Copyright>
<PackageTags>Google</PackageTags>
Expand Down

0 comments on commit 4c1935f

Please sign in to comment.