Skip to content

Commit

Permalink
feat:Update BigtableTableAdmin GetIamPolicy to include the additional…
Browse files Browse the repository at this point in the history
… binding for Backup. feat:Change DeleteAppProfileRequest.ignore_warnings to REQUIRED.

PiperOrigin-RevId: 339464550

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Oct 28 08:32:48 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: ccd6462d31e6422fd188b6590aa8d0ad03e7d9a3
Source-Link: googleapis/googleapis@ccd6462
  • Loading branch information
yoshi-automation authored and jskeet committed Oct 28, 2020
1 parent a0b03cd commit 532b6ae
Show file tree
Hide file tree
Showing 8 changed files with 3,671 additions and 3,658 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2489,9 +2489,9 @@ public void RestoreTableRequestObject()
// Initialize request argument(s)
RestoreTableRequest request = new RestoreTableRequest
{
Parent = "",
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
TableId = "",
Backup = "",
BackupAsBackupName = BackupName.FromProjectInstanceClusterBackup("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"),
};
// Make the request
Operation<Table, RestoreTableMetadata> response = bigtableTableAdminClient.RestoreTable(request);
Expand Down Expand Up @@ -2524,9 +2524,9 @@ public async Task RestoreTableRequestObjectAsync()
// Initialize request argument(s)
RestoreTableRequest request = new RestoreTableRequest
{
Parent = "",
ParentAsInstanceName = InstanceName.FromProjectInstance("[PROJECT]", "[INSTANCE]"),
TableId = "",
Backup = "",
BackupAsBackupName = BackupName.FromProjectInstanceClusterBackup("[PROJECT]", "[INSTANCE]", "[CLUSTER]", "[BACKUP]"),
};
// Make the request
Operation<Table, RestoreTableMetadata> response = await bigtableTableAdminClient.RestoreTableAsync(request);
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// source: google/bigtable/admin/v2/bigtable_instance_admin.proto
// </auto-generated>
// Original file comments:
// Copyright 2019 Google LLC.
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -17,7 +17,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
//
#pragma warning disable 0414, 1591
#region Designer generated code

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@

namespace Google.Cloud.Bigtable.Admin.V2
{
public partial class RestoreTableRequest
{
/// <summary>
/// <see cref="InstanceName"/>-typed view over the <see cref="Parent"/> resource name property.
/// </summary>
public InstanceName ParentAsInstanceName
{
get => string.IsNullOrEmpty(Parent) ? null : InstanceName.Parse(Parent, allowUnparsed: true);
set => Parent = value?.ToString() ?? "";
}

/// <summary><see cref="BackupName"/>-typed view over the <see cref="Backup"/> resource name property.</summary>
public BackupName BackupAsBackupName
{
get => string.IsNullOrEmpty(Backup) ? null : BackupName.Parse(Backup, allowUnparsed: true);
set => Backup = value?.ToString() ?? "";
}
}

public partial class CreateTableRequest
{
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion apis/Google.Cloud.Bigtable.Admin.V2/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "780419edef30c9dc232e36a445388d1aa3583e2c"
"sha": "ccd6462d31e6422fd188b6590aa8d0ad03e7d9a3"
}
}
]
Expand Down

0 comments on commit 532b6ae

Please sign in to comment.