Skip to content

Commit 0a28ce6

Browse files
gcf-owl-bot[bot]amanda-tarafa
authored andcommitted
feat: A new field score is added to message .google.cloud.aiplatform.v1.Candidate
feat: A new message `Segment` is added feat: A new message `GroundingChunk` is added feat: A new message `GroundingSupport` is added feat: A new field `grounding_chunks` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new field `grounding_supports` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new enum `Strategy` is added feat: A new field `strategy` is added to message `.google.cloud.aiplatform.v1.Scheduling` feat: A new field `dedicated_endpoint_enabled` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `dedicated_endpoint_dns` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new message `NumericFilter` is added feat: A new field `numeric_filters` is added to message `.google.cloud.aiplatform.v1.NearestNeighborQuery` feat: A new field `is_hugging_face_model` is added to message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` feat: A new message `NotebookExecutionJob` is added feat: A new resource_definition `aiplatform.googleapis.com/NotebookExecutionJob` is added feat: A new method `CreateNotebookExecutionJob` is added to service `NotebookService` feat: A new method `GetNotebookExecutionJob` is added to service `NotebookService` feat: A new method `ListNotebookExecutionJobs` is added to service `NotebookService` feat: A new method `DeleteNotebookExecutionJob` is added to service `NotebookService` feat: A new enum `NotebookExecutionJobView` is added feat: A new message `CreateNotebookExecutionJobRequest` is added feat: A new message `CreateNotebookExecutionJobOperationMetadata` is added feat: A new message `GetNotebookExecutionJobRequest` is added feat: A new message `ListNotebookExecutionJobsRequest` is added feat: A new message `ListNotebookExecutionJobsResponse` is added feat: A new message `DeleteNotebookExecutionJobRequest` is added feat: A new field `ray_logs_spec` is added to message `.google.cloud.aiplatform.v1.RaySpec` feat: A new message `RayLogsSpec` is added feat: A new field `system_instruction` is added to message `.google.cloud.aiplatform.v1.CountTokensRequest` feat: A new field `tools` is added to message `.google.cloud.aiplatform.v1.CountTokensRequest` feat: A new field `billable_sum` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution` feat: A new field `total_billable_token_count` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDataStats` feat: A new value `ADAPTER_SIZE_THIRTY_TWO` is added to enum `AdapterSize` docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.Dataset` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.DatasetVersion` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureViewRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureGroupRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureRequest` is changed docs: A comment for field `language_code` in message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` is changed docs: A comment for field `model` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for field `instances` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for field `contents` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for message `TrialContext` is changed docs: A comment for field `disable_attribution` in message `.google.cloud.aiplatform.v1.Retrieval` is changed PiperOrigin-RevId: 656538560 Source-Link: googleapis/googleapis@0fa9ce8 Source-Link: googleapis/googleapis-gen@5c99c52 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQUlQbGF0Zm9ybS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiNWM5OWM1MjczNmU0OTA1NjEyZWNhNjU1YTY5Yzc0NjQyNzc5ZWM5YSJ9
1 parent 72d1958 commit 0a28ce6

File tree

60 files changed

+12192
-831
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+12192
-831
lines changed

apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/LlmUtilityServiceClient.CountTokensRequestObjectAsyncSnippet.g.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ public async Task CountTokensRequestObjectAsync()
4444
Instances = { new wkt::Value(), },
4545
Model = "",
4646
Contents = { new Content(), },
47+
SystemInstruction = new Content(),
48+
Tools = { new Tool(), },
4749
};
4850
// Make the request
4951
CountTokensResponse response = await llmUtilityServiceClient.CountTokensAsync(request);

apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/LlmUtilityServiceClient.CountTokensRequestObjectSnippet.g.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ public void CountTokensRequestObject()
4343
Instances = { new wkt::Value(), },
4444
Model = "",
4545
Contents = { new Content(), },
46+
SystemInstruction = new Content(),
47+
Tools = { new Tool(), },
4648
};
4749
// Make the request
4850
CountTokensResponse response = llmUtilityServiceClient.CountTokens(request);

apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/ModelGardenServiceClient.GetPublisherModelRequestObjectAsyncSnippet.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public async Task GetPublisherModelRequestObjectAsync()
4040
PublisherModelName = PublisherModelName.FromPublisherModel("[PUBLISHER]", "[MODEL]"),
4141
LanguageCode = "",
4242
View = PublisherModelView.Unspecified,
43+
IsHuggingFaceModel = false,
4344
};
4445
// Make the request
4546
PublisherModel response = await modelGardenServiceClient.GetPublisherModelAsync(request);

apis/Google.Cloud.AIPlatform.V1/Google.Cloud.AIPlatform.V1.GeneratedSnippets/ModelGardenServiceClient.GetPublisherModelRequestObjectSnippet.g.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public void GetPublisherModelRequestObject()
3939
PublisherModelName = PublisherModelName.FromPublisherModel("[PUBLISHER]", "[MODEL]"),
4040
LanguageCode = "",
4141
View = PublisherModelView.Unspecified,
42+
IsHuggingFaceModel = false,
4243
};
4344
// Make the request
4445
PublisherModel response = modelGardenServiceClient.GetPublisherModel(request);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_async_flattened]
20+
using Google.Cloud.AIPlatform.V1;
21+
using Google.LongRunning;
22+
using System.Threading.Tasks;
23+
24+
public sealed partial class GeneratedNotebookServiceClientSnippets
25+
{
26+
/// <summary>Snippet for CreateNotebookExecutionJobAsync</summary>
27+
/// <remarks>
28+
/// This snippet has been automatically generated and should be regarded as a code template only.
29+
/// It will require modifications to work:
30+
/// - It may require correct/in-range values for request initialization.
31+
/// - It may require specifying regional endpoints when creating the service client as shown in
32+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
33+
/// </remarks>
34+
public async Task CreateNotebookExecutionJobAsync()
35+
{
36+
// Create client
37+
NotebookServiceClient notebookServiceClient = await NotebookServiceClient.CreateAsync();
38+
// Initialize request argument(s)
39+
string parent = "projects/[PROJECT]/locations/[LOCATION]";
40+
NotebookExecutionJob notebookExecutionJob = new NotebookExecutionJob();
41+
string notebookExecutionJobId = "";
42+
// Make the request
43+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> response = await notebookServiceClient.CreateNotebookExecutionJobAsync(parent, notebookExecutionJob, notebookExecutionJobId);
44+
45+
// Poll until the returned long-running operation is complete
46+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
47+
// Retrieve the operation result
48+
NotebookExecutionJob result = completedResponse.Result;
49+
50+
// Or get the name of the operation
51+
string operationName = response.Name;
52+
// This name can be stored, then the long-running operation retrieved later by name
53+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> retrievedResponse = await notebookServiceClient.PollOnceCreateNotebookExecutionJobAsync(operationName);
54+
// Check if the retrieved long-running operation has completed
55+
if (retrievedResponse.IsCompleted)
56+
{
57+
// If it has completed, then access the result
58+
NotebookExecutionJob retrievedResult = retrievedResponse.Result;
59+
}
60+
}
61+
}
62+
// [END aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_async_flattened]
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_async]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.AIPlatform.V1;
22+
using Google.LongRunning;
23+
using System.Threading.Tasks;
24+
25+
public sealed partial class GeneratedNotebookServiceClientSnippets
26+
{
27+
/// <summary>Snippet for CreateNotebookExecutionJobAsync</summary>
28+
/// <remarks>
29+
/// This snippet has been automatically generated and should be regarded as a code template only.
30+
/// It will require modifications to work:
31+
/// - It may require correct/in-range values for request initialization.
32+
/// - It may require specifying regional endpoints when creating the service client as shown in
33+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
34+
/// </remarks>
35+
public async Task CreateNotebookExecutionJobRequestObjectAsync()
36+
{
37+
// Create client
38+
NotebookServiceClient notebookServiceClient = await NotebookServiceClient.CreateAsync();
39+
// Initialize request argument(s)
40+
CreateNotebookExecutionJobRequest request = new CreateNotebookExecutionJobRequest
41+
{
42+
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
43+
NotebookExecutionJob = new NotebookExecutionJob(),
44+
NotebookExecutionJobId = "",
45+
};
46+
// Make the request
47+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> response = await notebookServiceClient.CreateNotebookExecutionJobAsync(request);
48+
49+
// Poll until the returned long-running operation is complete
50+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
51+
// Retrieve the operation result
52+
NotebookExecutionJob result = completedResponse.Result;
53+
54+
// Or get the name of the operation
55+
string operationName = response.Name;
56+
// This name can be stored, then the long-running operation retrieved later by name
57+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> retrievedResponse = await notebookServiceClient.PollOnceCreateNotebookExecutionJobAsync(operationName);
58+
// Check if the retrieved long-running operation has completed
59+
if (retrievedResponse.IsCompleted)
60+
{
61+
// If it has completed, then access the result
62+
NotebookExecutionJob retrievedResult = retrievedResponse.Result;
63+
}
64+
}
65+
}
66+
// [END aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_async]
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_sync]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.AIPlatform.V1;
22+
using Google.LongRunning;
23+
24+
public sealed partial class GeneratedNotebookServiceClientSnippets
25+
{
26+
/// <summary>Snippet for CreateNotebookExecutionJob</summary>
27+
/// <remarks>
28+
/// This snippet has been automatically generated and should be regarded as a code template only.
29+
/// It will require modifications to work:
30+
/// - It may require correct/in-range values for request initialization.
31+
/// - It may require specifying regional endpoints when creating the service client as shown in
32+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
33+
/// </remarks>
34+
public void CreateNotebookExecutionJobRequestObject()
35+
{
36+
// Create client
37+
NotebookServiceClient notebookServiceClient = NotebookServiceClient.Create();
38+
// Initialize request argument(s)
39+
CreateNotebookExecutionJobRequest request = new CreateNotebookExecutionJobRequest
40+
{
41+
ParentAsLocationName = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]"),
42+
NotebookExecutionJob = new NotebookExecutionJob(),
43+
NotebookExecutionJobId = "",
44+
};
45+
// Make the request
46+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> response = notebookServiceClient.CreateNotebookExecutionJob(request);
47+
48+
// Poll until the returned long-running operation is complete
49+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> completedResponse = response.PollUntilCompleted();
50+
// Retrieve the operation result
51+
NotebookExecutionJob result = completedResponse.Result;
52+
53+
// Or get the name of the operation
54+
string operationName = response.Name;
55+
// This name can be stored, then the long-running operation retrieved later by name
56+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> retrievedResponse = notebookServiceClient.PollOnceCreateNotebookExecutionJob(operationName);
57+
// Check if the retrieved long-running operation has completed
58+
if (retrievedResponse.IsCompleted)
59+
{
60+
// If it has completed, then access the result
61+
NotebookExecutionJob retrievedResult = retrievedResponse.Result;
62+
}
63+
}
64+
}
65+
// [END aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_sync]
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_async_flattened_resourceNames]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.AIPlatform.V1;
22+
using Google.LongRunning;
23+
using System.Threading.Tasks;
24+
25+
public sealed partial class GeneratedNotebookServiceClientSnippets
26+
{
27+
/// <summary>Snippet for CreateNotebookExecutionJobAsync</summary>
28+
/// <remarks>
29+
/// This snippet has been automatically generated and should be regarded as a code template only.
30+
/// It will require modifications to work:
31+
/// - It may require correct/in-range values for request initialization.
32+
/// - It may require specifying regional endpoints when creating the service client as shown in
33+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
34+
/// </remarks>
35+
public async Task CreateNotebookExecutionJobResourceNamesAsync()
36+
{
37+
// Create client
38+
NotebookServiceClient notebookServiceClient = await NotebookServiceClient.CreateAsync();
39+
// Initialize request argument(s)
40+
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
41+
NotebookExecutionJob notebookExecutionJob = new NotebookExecutionJob();
42+
string notebookExecutionJobId = "";
43+
// Make the request
44+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> response = await notebookServiceClient.CreateNotebookExecutionJobAsync(parent, notebookExecutionJob, notebookExecutionJobId);
45+
46+
// Poll until the returned long-running operation is complete
47+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
48+
// Retrieve the operation result
49+
NotebookExecutionJob result = completedResponse.Result;
50+
51+
// Or get the name of the operation
52+
string operationName = response.Name;
53+
// This name can be stored, then the long-running operation retrieved later by name
54+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> retrievedResponse = await notebookServiceClient.PollOnceCreateNotebookExecutionJobAsync(operationName);
55+
// Check if the retrieved long-running operation has completed
56+
if (retrievedResponse.IsCompleted)
57+
{
58+
// If it has completed, then access the result
59+
NotebookExecutionJob retrievedResult = retrievedResponse.Result;
60+
}
61+
}
62+
}
63+
// [END aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_async_flattened_resourceNames]
64+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
// Copyright 2024 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
// Generated code. DO NOT EDIT!
16+
17+
namespace GoogleCSharpSnippets
18+
{
19+
// [START aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_sync_flattened_resourceNames]
20+
using Google.Api.Gax.ResourceNames;
21+
using Google.Cloud.AIPlatform.V1;
22+
using Google.LongRunning;
23+
24+
public sealed partial class GeneratedNotebookServiceClientSnippets
25+
{
26+
/// <summary>Snippet for CreateNotebookExecutionJob</summary>
27+
/// <remarks>
28+
/// This snippet has been automatically generated and should be regarded as a code template only.
29+
/// It will require modifications to work:
30+
/// - It may require correct/in-range values for request initialization.
31+
/// - It may require specifying regional endpoints when creating the service client as shown in
32+
/// https://cloud.google.com/dotnet/docs/reference/help/client-configuration#endpoint.
33+
/// </remarks>
34+
public void CreateNotebookExecutionJobResourceNames()
35+
{
36+
// Create client
37+
NotebookServiceClient notebookServiceClient = NotebookServiceClient.Create();
38+
// Initialize request argument(s)
39+
LocationName parent = LocationName.FromProjectLocation("[PROJECT]", "[LOCATION]");
40+
NotebookExecutionJob notebookExecutionJob = new NotebookExecutionJob();
41+
string notebookExecutionJobId = "";
42+
// Make the request
43+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> response = notebookServiceClient.CreateNotebookExecutionJob(parent, notebookExecutionJob, notebookExecutionJobId);
44+
45+
// Poll until the returned long-running operation is complete
46+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> completedResponse = response.PollUntilCompleted();
47+
// Retrieve the operation result
48+
NotebookExecutionJob result = completedResponse.Result;
49+
50+
// Or get the name of the operation
51+
string operationName = response.Name;
52+
// This name can be stored, then the long-running operation retrieved later by name
53+
Operation<NotebookExecutionJob, CreateNotebookExecutionJobOperationMetadata> retrievedResponse = notebookServiceClient.PollOnceCreateNotebookExecutionJob(operationName);
54+
// Check if the retrieved long-running operation has completed
55+
if (retrievedResponse.IsCompleted)
56+
{
57+
// If it has completed, then access the result
58+
NotebookExecutionJob retrievedResult = retrievedResponse.Result;
59+
}
60+
}
61+
}
62+
// [END aiplatform_v1_generated_NotebookService_CreateNotebookExecutionJob_sync_flattened_resourceNames]
63+
}

0 commit comments

Comments
 (0)