-
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 timestamp_outside_retention_rows_count to ImportFeatureValu…
…esResponse and ImportFeatureValuesOperationMetadata in aiplatform v1 featurestore_service.proto feat: add RemoveContextChildren rpc to aiplatform v1 metadata_service.proto feat: add order_by to ListArtifactsRequest, ListContextsRequest, and ListExecutionsRequest in aiplatform v1 metadata_service.proto PiperOrigin-RevId: 475580702 Source-Link: googleapis/googleapis@af65a19 Source-Link: googleapis/googleapis-gen@023d431 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQUlQbGF0Zm9ybS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiMDIzZDQzMTU2OWE1M2Y5YjVjZDBkNDdjNmFmODViOGE0NmNlYTVlOCJ9
- Loading branch information
1 parent
15f4758
commit 093a3f1
Showing
25 changed files
with
2,202 additions
and
525 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
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
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
46 changes: 46 additions & 0 deletions
46
...latform.V1.GeneratedSnippets/MetadataServiceClient.RemoveContextChildrenAsyncSnippet.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 2022 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_MetadataService_RemoveContextChildren_async_flattened] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedMetadataServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for RemoveContextChildrenAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task RemoveContextChildrenAsync() | ||
{ | ||
// Create client | ||
MetadataServiceClient metadataServiceClient = await MetadataServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
string context = "projects/[PROJECT]/locations/[LOCATION]/metadataStores/[METADATA_STORE]/contexts/[CONTEXT]"; | ||
IEnumerable<string> childContexts = new string[] | ||
{ | ||
"projects/[PROJECT]/locations/[LOCATION]/metadataStores/[METADATA_STORE]/contexts/[CONTEXT]", | ||
}; | ||
// Make the request | ||
RemoveContextChildrenResponse response = await metadataServiceClient.RemoveContextChildrenAsync(context, childContexts); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_MetadataService_RemoveContextChildren_async_flattened] | ||
} |
48 changes: 48 additions & 0 deletions
48
...neratedSnippets/MetadataServiceClient.RemoveContextChildrenRequestObjectAsyncSnippet.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,48 @@ | ||
// Copyright 2022 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_MetadataService_RemoveContextChildren_async] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedMetadataServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for RemoveContextChildrenAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task RemoveContextChildrenRequestObjectAsync() | ||
{ | ||
// Create client | ||
MetadataServiceClient metadataServiceClient = await MetadataServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
RemoveContextChildrenRequest request = new RemoveContextChildrenRequest | ||
{ | ||
ContextAsContextName = ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"), | ||
ChildContextsAsContextNames = | ||
{ | ||
ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"), | ||
}, | ||
}; | ||
// Make the request | ||
RemoveContextChildrenResponse response = await metadataServiceClient.RemoveContextChildrenAsync(request); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_MetadataService_RemoveContextChildren_async] | ||
} |
47 changes: 47 additions & 0 deletions
47
...V1.GeneratedSnippets/MetadataServiceClient.RemoveContextChildrenRequestObjectSnippet.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 2022 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_MetadataService_RemoveContextChildren_sync] | ||
using Google.Cloud.AIPlatform.V1; | ||
|
||
public sealed partial class GeneratedMetadataServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for RemoveContextChildren</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void RemoveContextChildrenRequestObject() | ||
{ | ||
// Create client | ||
MetadataServiceClient metadataServiceClient = MetadataServiceClient.Create(); | ||
// Initialize request argument(s) | ||
RemoveContextChildrenRequest request = new RemoveContextChildrenRequest | ||
{ | ||
ContextAsContextName = ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"), | ||
ChildContextsAsContextNames = | ||
{ | ||
ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"), | ||
}, | ||
}; | ||
// Make the request | ||
RemoveContextChildrenResponse response = metadataServiceClient.RemoveContextChildren(request); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_MetadataService_RemoveContextChildren_sync] | ||
} |
46 changes: 46 additions & 0 deletions
46
...neratedSnippets/MetadataServiceClient.RemoveContextChildrenResourceNamesAsyncSnippet.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 2022 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_MetadataService_RemoveContextChildren_async_flattened_resourceNames] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
|
||
public sealed partial class GeneratedMetadataServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for RemoveContextChildrenAsync</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public async Task RemoveContextChildrenResourceNamesAsync() | ||
{ | ||
// Create client | ||
MetadataServiceClient metadataServiceClient = await MetadataServiceClient.CreateAsync(); | ||
// Initialize request argument(s) | ||
ContextName context = ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"); | ||
IEnumerable<ContextName> childContexts = new ContextName[] | ||
{ | ||
ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"), | ||
}; | ||
// Make the request | ||
RemoveContextChildrenResponse response = await metadataServiceClient.RemoveContextChildrenAsync(context, childContexts); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_MetadataService_RemoveContextChildren_async_flattened_resourceNames] | ||
} |
45 changes: 45 additions & 0 deletions
45
...V1.GeneratedSnippets/MetadataServiceClient.RemoveContextChildrenResourceNamesSnippet.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,45 @@ | ||
// Copyright 2022 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_MetadataService_RemoveContextChildren_sync_flattened_resourceNames] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Collections.Generic; | ||
|
||
public sealed partial class GeneratedMetadataServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for RemoveContextChildren</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void RemoveContextChildrenResourceNames() | ||
{ | ||
// Create client | ||
MetadataServiceClient metadataServiceClient = MetadataServiceClient.Create(); | ||
// Initialize request argument(s) | ||
ContextName context = ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"); | ||
IEnumerable<ContextName> childContexts = new ContextName[] | ||
{ | ||
ContextName.FromProjectLocationMetadataStoreContext("[PROJECT]", "[LOCATION]", "[METADATA_STORE]", "[CONTEXT]"), | ||
}; | ||
// Make the request | ||
RemoveContextChildrenResponse response = metadataServiceClient.RemoveContextChildren(context, childContexts); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_MetadataService_RemoveContextChildren_sync_flattened_resourceNames] | ||
} |
45 changes: 45 additions & 0 deletions
45
...d.AIPlatform.V1.GeneratedSnippets/MetadataServiceClient.RemoveContextChildrenSnippet.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,45 @@ | ||
// Copyright 2022 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_MetadataService_RemoveContextChildren_sync_flattened] | ||
using Google.Cloud.AIPlatform.V1; | ||
using System.Collections.Generic; | ||
|
||
public sealed partial class GeneratedMetadataServiceClientSnippets | ||
{ | ||
/// <summary>Snippet for RemoveContextChildren</summary> | ||
/// <remarks> | ||
/// This snippet has been automatically generated for illustrative purposes only. | ||
/// It may require modifications to work in your environment. | ||
/// </remarks> | ||
public void RemoveContextChildren() | ||
{ | ||
// Create client | ||
MetadataServiceClient metadataServiceClient = MetadataServiceClient.Create(); | ||
// Initialize request argument(s) | ||
string context = "projects/[PROJECT]/locations/[LOCATION]/metadataStores/[METADATA_STORE]/contexts/[CONTEXT]"; | ||
IEnumerable<string> childContexts = new string[] | ||
{ | ||
"projects/[PROJECT]/locations/[LOCATION]/metadataStores/[METADATA_STORE]/contexts/[CONTEXT]", | ||
}; | ||
// Make the request | ||
RemoveContextChildrenResponse response = metadataServiceClient.RemoveContextChildren(context, childContexts); | ||
} | ||
} | ||
// [END aiplatform_v1_generated_MetadataService_RemoveContextChildren_sync_flattened] | ||
} |
Oops, something went wrong.