Skip to content

Commit

Permalink
feat: A new field force is added to message `.google.cloud.dataplex…
Browse files Browse the repository at this point in the history
….v1.DeleteDataScanRequest`

docs: miscellaneous doc updates

PiperOrigin-RevId: 709139776

Source-Link: googleapis/googleapis@9e96614

Source-Link: googleapis/googleapis-gen@ef1103d
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuRGF0YXBsZXguVjEvLk93bEJvdC55YW1sIiwiaCI6ImVmMTEwM2QzZGMzZDI5MzY5NGUxMmZjODNkOWFhMTE2MTk2MTYwZDQifQ==
  • Loading branch information
gcf-owl-bot[bot] committed Dec 24, 2024
1 parent bc4928d commit 61a3b83
Show file tree
Hide file tree
Showing 8 changed files with 237 additions and 174 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public async Task DeleteDataScanRequestObjectAsync()
gcdv::DeleteDataScanRequest request = new gcdv::DeleteDataScanRequest
{
DataScanName = gcdv::DataScanName.FromProjectLocationDataScan("[PROJECT]", "[LOCATION]", "[DATASCAN]"),
Force = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataScanServiceClient.DeleteDataScanAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public void DeleteDataScanRequestObject()
DeleteDataScanRequest request = new DeleteDataScanRequest
{
DataScanName = DataScanName.FromProjectLocationDataScan("[PROJECT]", "[LOCATION]", "[DATASCAN]"),
Force = false,
};
// Make the request
Operation<Empty, OperationMetadata> response = dataScanServiceClient.DeleteDataScan(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9730,12 +9730,12 @@
"segments": [
{
"start": 20,
"end": 62,
"end": 63,
"type": "FULL"
},
{
"start": 36,
"end": 60,
"end": 61,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -9779,12 +9779,12 @@
"segments": [
{
"start": 22,
"end": 65,
"end": 66,
"type": "FULL"
},
{
"start": 39,
"end": 63,
"end": 64,
"type": "SHORT"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ public void DeleteDataScanRequestObject()
gcdv::DeleteDataScanRequest request = new gcdv::DeleteDataScanRequest
{
DataScanName = gcdv::DataScanName.FromProjectLocationDataScan("[PROJECT]", "[LOCATION]", "[DATASCAN]"),
Force = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = dataScanServiceClient.DeleteDataScan(request);
Expand Down Expand Up @@ -400,6 +401,7 @@ public async Task DeleteDataScanRequestObjectAsync()
gcdv::DeleteDataScanRequest request = new gcdv::DeleteDataScanRequest
{
DataScanName = gcdv::DataScanName.FromProjectLocationDataScan("[PROJECT]", "[LOCATION]", "[DATASCAN]"),
Force = false,
};
// Make the request
Operation<Empty, gcdv::OperationMetadata> response = await dataScanServiceClient.DeleteDataScanAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12036,7 +12036,7 @@ public bool DeleteMissingAspects {
/// specified path. For example, to attach an aspect to a field that is
/// specified by the `schema` aspect, the path should have the format
/// `Schema.&lt;field_name>`.
/// * `&lt;aspect_type_reference>*` - matches aspects of the given type for all
/// * `&lt;aspect_type_reference>@*` - matches aspects of the given type for all
/// paths.
/// * `*@path` - matches aspects of all types on the given path.
///
Expand Down Expand Up @@ -13761,6 +13761,8 @@ public string Name {
private string query_ = "";
/// <summary>
/// Required. The query against which entries in scope should be matched.
/// The query syntax is defined in [Search syntax for Dataplex
/// Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -13809,6 +13811,10 @@ public string PageToken {
private string orderBy_ = "";
/// <summary>
/// Optional. Specifies the ordering of results.
/// Supported values are:
/// * `relevance` (default)
/// * `last_modified_timestamp`
/// * `last_modified_timestamp asc`
/// </summary>
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Expand Down Expand Up @@ -15008,9 +15014,9 @@ public ImportItem Clone() {
/// aspect type and are attached directly to the entry.
/// * `{aspect_type_reference}@{path}`: matches aspects that belong to the
/// specified aspect type and path.
/// * `{aspect_type_reference}@*`: matches aspects that belong to the specified
/// aspect type for all paths.
///
/// * `&lt;aspect_type_reference>@*` : matches aspects of the given type for all
/// paths.
/// * `*@path` : matches aspects of all types on the given path.
/// Replace `{aspect_type_reference}` with a reference to the aspect type, in
/// the format
/// `{project_id_or_number}.{location_id}.{aspect_type_id}`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3781,6 +3781,8 @@ public virtual Entry LookupEntry(LookupEntryRequest request, gaxgrpc::CallSettin
/// </param>
/// <param name="query">
/// Required. The query against which entries in scope should be matched.
/// The query syntax is defined in [Search syntax for Dataplex
/// Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
/// </param>
/// <param name="pageToken">
/// The token returned from the previous request. A value of <c>null</c> or an empty string retrieves the first
Expand Down Expand Up @@ -3819,6 +3821,8 @@ public virtual Entry LookupEntry(LookupEntryRequest request, gaxgrpc::CallSettin
/// </param>
/// <param name="query">
/// Required. The query against which entries in scope should be matched.
/// The query syntax is defined in [Search syntax for Dataplex
/// Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
/// </param>
/// <param name="pageToken">
/// The token returned from the previous request. A value of <c>null</c> or an empty string retrieves the first
Expand Down Expand Up @@ -3857,6 +3861,8 @@ public virtual Entry LookupEntry(LookupEntryRequest request, gaxgrpc::CallSettin
/// </param>
/// <param name="query">
/// Required. The query against which entries in scope should be matched.
/// The query syntax is defined in [Search syntax for Dataplex
/// Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
/// </param>
/// <param name="pageToken">
/// The token returned from the previous request. A value of <c>null</c> or an empty string retrieves the first
Expand Down Expand Up @@ -3895,6 +3901,8 @@ public virtual Entry LookupEntry(LookupEntryRequest request, gaxgrpc::CallSettin
/// </param>
/// <param name="query">
/// Required. The query against which entries in scope should be matched.
/// The query syntax is defined in [Search syntax for Dataplex
/// Catalog](https://cloud.google.com/dataplex/docs/search-syntax).
/// </param>
/// <param name="pageToken">
/// The token returned from the previous request. A value of <c>null</c> or an empty string retrieves the first
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,15 +682,15 @@ internal static DataScanServiceClient Create(grpccore::CallInvoker callInvoker,
/// Only fields specified in `update_mask` are updated.
/// </param>
/// <param name="updateMask">
/// Required. Mask of fields to update.
/// Optional. Mask of fields to update.
/// </param>
/// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
/// <returns>The RPC response.</returns>
public virtual lro::Operation<DataScan, OperationMetadata> UpdateDataScan(DataScan dataScan, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) =>
UpdateDataScan(new UpdateDataScanRequest
{
DataScan = gax::GaxPreconditions.CheckNotNull(dataScan, nameof(dataScan)),
UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)),
UpdateMask = updateMask,
}, callSettings);

/// <summary>
Expand All @@ -702,15 +702,15 @@ internal static DataScanServiceClient Create(grpccore::CallInvoker callInvoker,
/// Only fields specified in `update_mask` are updated.
/// </param>
/// <param name="updateMask">
/// Required. Mask of fields to update.
/// Optional. Mask of fields to update.
/// </param>
/// <param name="callSettings">If not null, applies overrides to this RPC call.</param>
/// <returns>A Task containing the RPC response.</returns>
public virtual stt::Task<lro::Operation<DataScan, OperationMetadata>> UpdateDataScanAsync(DataScan dataScan, wkt::FieldMask updateMask, gaxgrpc::CallSettings callSettings = null) =>
UpdateDataScanAsync(new UpdateDataScanRequest
{
DataScan = gax::GaxPreconditions.CheckNotNull(dataScan, nameof(dataScan)),
UpdateMask = gax::GaxPreconditions.CheckNotNull(updateMask, nameof(updateMask)),
UpdateMask = updateMask,
}, callSettings);

/// <summary>
Expand All @@ -722,7 +722,7 @@ internal static DataScanServiceClient Create(grpccore::CallInvoker callInvoker,
/// Only fields specified in `update_mask` are updated.
/// </param>
/// <param name="updateMask">
/// Required. Mask of fields to update.
/// Optional. Mask of fields to update.
/// </param>
/// <param name="cancellationToken">A <see cref="st::CancellationToken"/> to use for this RPC.</param>
/// <returns>A Task containing the RPC response.</returns>
Expand Down
Loading

0 comments on commit 61a3b83

Please sign in to comment.