-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add saved_queries to Dataset in aiplatform v1 dataset.proto
feat: add order_by to ListModelVersionRequest in aiplatform v1 model_service.proto feat: add update_all_stopped_trials to ConvexAutomatedStoppingSpec in aiplatform v1 study.proto feat: add ReadTensorboardUsage rpc in aiplatform v1 tensorboard_service.proto PiperOrigin-RevId: 500741387 Source-Link: googleapis/googleapis@2293b99 Source-Link: googleapis/googleapis-gen@21abc86 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQUlQbGF0Zm9ybS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiMjFhYmM4NmEyZmE0ZmZiYzJkOTY5ZjQ4ZWE3ZmMwN2Y2ZDhkMDNkMCJ9
- Loading branch information
1 parent
8c6bdf0
commit e7acad2
Showing
88 changed files
with
6,239 additions
and
3,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...tform.V1.GeneratedSnippets/TensorboardServiceClient.ReadTensorboardUsageAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace Google.Cloud.AIPlatform.V1.Snippets | ||
{ | ||
// [START aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_async_flattened] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedTensorboardServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ReadTensorboardUsageAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task ReadTensorboardUsageAsync() | ||
{ | ||
// Create client | ||
TensorboardServiceClient tensorboardServiceClient = await TensorboardServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string tensorboard = "projects/[PROJECT]/locations/[LOCATION]/tensorboards/[TENSORBOARD]"; | ||
// Make the request | ||
ReadTensorboardUsageResponse response = await tensorboardServiceClient.ReadTensorboardUsageAsync(tensorboard); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_async_flattened] | ||
} |
47 changes: 47 additions & 0 deletions
47
...ratedSnippets/TensorboardServiceClient.ReadTensorboardUsageRequestObjectAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace Google.Cloud.AIPlatform.V1.Snippets | ||
{ | ||
// [START aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_async] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedTensorboardServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ReadTensorboardUsageAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task ReadTensorboardUsageRequestObjectAsync() | ||
{ | ||
// Create client | ||
TensorboardServiceClient tensorboardServiceClient = await TensorboardServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
ReadTensorboardUsageRequest request = new ReadTensorboardUsageRequest | ||
{ | ||
TensorboardAsTensorboardName = TensorboardName.FromProjectLocationTensorboard("[PROJECT]", "[LOCATION]", "[TENSORBOARD]"), | ||
}; | ||
// Make the request | ||
ReadTensorboardUsageResponse response = await tensorboardServiceClient.ReadTensorboardUsageAsync(request); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_async] | ||
} |
46 changes: 46 additions & 0 deletions
46
....GeneratedSnippets/TensorboardServiceClient.ReadTensorboardUsageRequestObjectSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace Google.Cloud.AIPlatform.V1.Snippets | ||
{ | ||
// [START aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync] | ||
using Google.Cloud.AIPlatform.V1; | ||
|
||
public sealed partial class GeneratedTensorboardServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ReadTensorboardUsage</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void ReadTensorboardUsageRequestObject() | ||
{ | ||
// Create client | ||
TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.Create(); | ||
// Initialize request argument(s) | ||
ReadTensorboardUsageRequest request = new ReadTensorboardUsageRequest | ||
{ | ||
TensorboardAsTensorboardName = TensorboardName.FromProjectLocationTensorboard("[PROJECT]", "[LOCATION]", "[TENSORBOARD]"), | ||
}; | ||
// Make the request | ||
ReadTensorboardUsageResponse response = tensorboardServiceClient.ReadTensorboardUsage(request); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync] | ||
} |
44 changes: 44 additions & 0 deletions
44
...ratedSnippets/TensorboardServiceClient.ReadTensorboardUsageResourceNamesAsyncSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace Google.Cloud.AIPlatform.V1.Snippets | ||
{ | ||
// [START aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_async_flattened_resourceNames] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedTensorboardServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ReadTensorboardUsageAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public async Task ReadTensorboardUsageResourceNamesAsync() | ||
{ | ||
// Create client | ||
TensorboardServiceClient tensorboardServiceClient = await TensorboardServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
TensorboardName tensorboard = TensorboardName.FromProjectLocationTensorboard("[PROJECT]", "[LOCATION]", "[TENSORBOARD]"); | ||
// Make the request | ||
ReadTensorboardUsageResponse response = await tensorboardServiceClient.ReadTensorboardUsageAsync(tensorboard); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_async_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
....GeneratedSnippets/TensorboardServiceClient.ReadTensorboardUsageResourceNamesSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace Google.Cloud.AIPlatform.V1.Snippets | ||
{ | ||
// [START aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync_flattened_resourceNames] | ||
using Google.Cloud.AIPlatform.V1; | ||
|
||
public sealed partial class GeneratedTensorboardServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ReadTensorboardUsage</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void ReadTensorboardUsageResourceNames() | ||
{ | ||
// Create client | ||
TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.Create(); | ||
// Initialize request argument(s) | ||
TensorboardName tensorboard = TensorboardName.FromProjectLocationTensorboard("[PROJECT]", "[LOCATION]", "[TENSORBOARD]"); | ||
// Make the request | ||
ReadTensorboardUsageResponse response = tensorboardServiceClient.ReadTensorboardUsage(tensorboard); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync_flattened_resourceNames] | ||
} |
43 changes: 43 additions & 0 deletions
43
...AIPlatform.V1.GeneratedSnippets/TensorboardServiceClient.ReadTensorboardUsageSnippet.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright 2023 Google LLC | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// https://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// Generated code. DO NOT EDIT! | ||
|
||
namespace Google.Cloud.AIPlatform.V1.Snippets | ||
{ | ||
// [START aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync_flattened] | ||
using Google.Cloud.AIPlatform.V1; | ||
|
||
public sealed partial class GeneratedTensorboardServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for ReadTensorboardUsage</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated and should be regarded as a code template only. | ||
/// It will require modifications to work: | ||
/// - It may require correct/in-range values for request initialization. | ||
/// - It may require specifying regional endpoints when creating the service client as shown in | ||
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint. | ||
/// </remarks> | ||
public void ReadTensorboardUsage() | ||
{ | ||
// Create client | ||
TensorboardServiceClient tensorboardServiceClient = TensorboardServiceClient.Create(); | ||
// Initialize request argument(s) | ||
string tensorboard = "projects/[PROJECT]/locations/[LOCATION]/tensorboards/[TENSORBOARD]"; | ||
// Make the request | ||
ReadTensorboardUsageResponse response = tensorboardServiceClient.ReadTensorboardUsage(tensorboard); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_TensorboardService_ReadTensorboardUsage_sync_flattened] | ||
} |
Oops, something went wrong.