diff --git a/apis/Google.Cloud.Asset.V1/Google.Cloud.Asset.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Asset.V1/Google.Cloud.Asset.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..9d70e85c36be
--- /dev/null
+++ b/apis/Google.Cloud.Asset.V1/Google.Cloud.Asset.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Asset.V1
+{
+ public partial class AssetService
+ {
+ public partial class AssetServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public AssetServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..dc9e7dc29414
--- /dev/null
+++ b/apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,48 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.AutoML.V1
+{
+ public partial class AutoMl
+ {
+ public partial class AutoMlClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public AutoMlClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class PredictionService
+ {
+ public partial class PredictionServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public PredictionServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.BigQuery.Connection.V1/Google.Cloud.BigQuery.Connection.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.BigQuery.Connection.V1/Google.Cloud.BigQuery.Connection.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..f676c710d75f
--- /dev/null
+++ b/apis/Google.Cloud.BigQuery.Connection.V1/Google.Cloud.BigQuery.Connection.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.BigQuery.Connection.V1
+{
+ public partial class ConnectionService
+ {
+ public partial class ConnectionServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ConnectionServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.BigQuery.Reservation.V1/Google.Cloud.BigQuery.Reservation.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.BigQuery.Reservation.V1/Google.Cloud.BigQuery.Reservation.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..2733d20815ff
--- /dev/null
+++ b/apis/Google.Cloud.BigQuery.Reservation.V1/Google.Cloud.BigQuery.Reservation.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.BigQuery.Reservation.V1
+{
+ public partial class ReservationService
+ {
+ public partial class ReservationServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ReservationServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.BigQuery.Storage.V1/Google.Cloud.BigQuery.Storage.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.BigQuery.Storage.V1/Google.Cloud.BigQuery.Storage.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..477014748224
--- /dev/null
+++ b/apis/Google.Cloud.BigQuery.Storage.V1/Google.Cloud.BigQuery.Storage.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.BigQuery.Storage.V1
+{
+ public partial class BigQueryRead
+ {
+ public partial class BigQueryReadClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public BigQueryReadClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Bigtable.Admin.V2/Google.Cloud.Bigtable.Admin.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Bigtable.Admin.V2/Google.Cloud.Bigtable.Admin.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..f135261fe595
--- /dev/null
+++ b/apis/Google.Cloud.Bigtable.Admin.V2/Google.Cloud.Bigtable.Admin.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,48 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Bigtable.Admin.V2
+{
+ public partial class BigtableInstanceAdmin
+ {
+ public partial class BigtableInstanceAdminClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public BigtableInstanceAdminClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class BigtableTableAdmin
+ {
+ public partial class BigtableTableAdminClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public BigtableTableAdminClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..d4d7894193cf
--- /dev/null
+++ b/apis/Google.Cloud.Bigtable.V2/Google.Cloud.Bigtable.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Bigtable.V2
+{
+ public partial class Bigtable
+ {
+ public partial class BigtableClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public BigtableClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Billing.V1/Google.Cloud.Billing.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Billing.V1/Google.Cloud.Billing.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..f76fd2424ec2
--- /dev/null
+++ b/apis/Google.Cloud.Billing.V1/Google.Cloud.Billing.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,48 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Billing.V1
+{
+ public partial class CloudBilling
+ {
+ public partial class CloudBillingClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public CloudBillingClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class CloudCatalog
+ {
+ public partial class CloudCatalogClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public CloudCatalogClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..2f0c664ea077
--- /dev/null
+++ b/apis/Google.Cloud.Container.V1/Google.Cloud.Container.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Container.V1
+{
+ public partial class ClusterManager
+ {
+ public partial class ClusterManagerClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ClusterManagerClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..9e1e23ee37c3
--- /dev/null
+++ b/apis/Google.Cloud.DataCatalog.V1/Google.Cloud.DataCatalog.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.DataCatalog.V1
+{
+ public partial class DataCatalog
+ {
+ public partial class DataCatalogClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public DataCatalogClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..4d89750ba838
--- /dev/null
+++ b/apis/Google.Cloud.Datastore.V1/Google.Cloud.Datastore.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Datastore.V1
+{
+ public partial class Datastore
+ {
+ public partial class DatastoreClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public DatastoreClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Debugger.V2/Google.Cloud.Debugger.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Debugger.V2/Google.Cloud.Debugger.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..715ce38b031e
--- /dev/null
+++ b/apis/Google.Cloud.Debugger.V2/Google.Cloud.Debugger.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,48 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Debugger.V2
+{
+ public partial class Controller2
+ {
+ public partial class Controller2Client
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public Controller2Client(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class Debugger2
+ {
+ public partial class Debugger2Client
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public Debugger2Client(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..af49b96db2a5
--- /dev/null
+++ b/apis/Google.Cloud.DevTools.ContainerAnalysis.V1/Google.Cloud.DevTools.ContainerAnalysis.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.DevTools.ContainerAnalysis.V1
+{
+ public partial class ContainerAnalysis
+ {
+ public partial class ContainerAnalysisClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ContainerAnalysisClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..3bba6c56c6a6
--- /dev/null
+++ b/apis/Google.Cloud.Dialogflow.V2/Google.Cloud.Dialogflow.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,113 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Dialogflow.V2
+{
+ public partial class Agents
+ {
+ public partial class AgentsClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public AgentsClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class Contexts
+ {
+ public partial class ContextsClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ContextsClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class EntityTypes
+ {
+ public partial class EntityTypesClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public EntityTypesClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class Environments
+ {
+ public partial class EnvironmentsClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public EnvironmentsClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class Intents
+ {
+ public partial class IntentsClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public IntentsClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class SessionEntityTypes
+ {
+ public partial class SessionEntityTypesClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SessionEntityTypesClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class Sessions
+ {
+ public partial class SessionsClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SessionsClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Dlp.V2/Google.Cloud.Dlp.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Dlp.V2/Google.Cloud.Dlp.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..ab1e1cf022f8
--- /dev/null
+++ b/apis/Google.Cloud.Dlp.V2/Google.Cloud.Dlp.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Dlp.V2
+{
+ public partial class DlpService
+ {
+ public partial class DlpServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public DlpServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..8781f14c46a6
--- /dev/null
+++ b/apis/Google.Cloud.Firestore.Admin.V1/Google.Cloud.Firestore.Admin.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Firestore.Admin.V1
+{
+ public partial class FirestoreAdmin
+ {
+ public partial class FirestoreAdminClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public FirestoreAdminClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Firestore.V1/Google.Cloud.Firestore.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Firestore.V1/Google.Cloud.Firestore.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..1e51d97a8a64
--- /dev/null
+++ b/apis/Google.Cloud.Firestore.V1/Google.Cloud.Firestore.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Firestore.V1
+{
+ public partial class Firestore
+ {
+ public partial class FirestoreClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public FirestoreClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Iam.V1/Google.Cloud.Iam.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Iam.V1/Google.Cloud.Iam.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..38ac9e5cf2d1
--- /dev/null
+++ b/apis/Google.Cloud.Iam.V1/Google.Cloud.Iam.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Iam.V1
+{
+ public partial class IAMPolicy
+ {
+ public partial class IAMPolicyClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public IAMPolicyClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..9b51d216d3fc
--- /dev/null
+++ b/apis/Google.Cloud.Kms.V1/Google.Cloud.Kms.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Kms.V1
+{
+ public partial class KeyManagementService
+ {
+ public partial class KeyManagementServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public KeyManagementServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..3fc386b014c1
--- /dev/null
+++ b/apis/Google.Cloud.Language.V1/Google.Cloud.Language.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Language.V1
+{
+ public partial class LanguageService
+ {
+ public partial class LanguageServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public LanguageServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Logging.V2/Google.Cloud.Logging.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Logging.V2/Google.Cloud.Logging.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..3fa961992830
--- /dev/null
+++ b/apis/Google.Cloud.Logging.V2/Google.Cloud.Logging.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,61 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Logging.V2
+{
+ public partial class ConfigServiceV2
+ {
+ public partial class ConfigServiceV2Client
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ConfigServiceV2Client(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class LoggingServiceV2
+ {
+ public partial class LoggingServiceV2Client
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public LoggingServiceV2Client(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class MetricsServiceV2
+ {
+ public partial class MetricsServiceV2Client
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public MetricsServiceV2Client(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.ManagedIdentities.V1/Google.Cloud.ManagedIdentities.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.ManagedIdentities.V1/Google.Cloud.ManagedIdentities.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..654ca31c7a3f
--- /dev/null
+++ b/apis/Google.Cloud.ManagedIdentities.V1/Google.Cloud.ManagedIdentities.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.ManagedIdentities.V1
+{
+ public partial class ManagedIdentitiesService
+ {
+ public partial class ManagedIdentitiesServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ManagedIdentitiesServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..7c3be23ba28b
--- /dev/null
+++ b/apis/Google.Cloud.Monitoring.V3/Google.Cloud.Monitoring.V3/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,100 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Monitoring.V3
+{
+ public partial class AlertPolicyService
+ {
+ public partial class AlertPolicyServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public AlertPolicyServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class GroupService
+ {
+ public partial class GroupServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public GroupServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class MetricService
+ {
+ public partial class MetricServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public MetricServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class NotificationChannelService
+ {
+ public partial class NotificationChannelServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public NotificationChannelServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class ServiceMonitoringService
+ {
+ public partial class ServiceMonitoringServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ServiceMonitoringServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class UptimeCheckService
+ {
+ public partial class UptimeCheckServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public UptimeCheckServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.OsConfig.V1/Google.Cloud.OsConfig.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.OsConfig.V1/Google.Cloud.OsConfig.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..8bfaf0420cda
--- /dev/null
+++ b/apis/Google.Cloud.OsConfig.V1/Google.Cloud.OsConfig.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.OsConfig.V1
+{
+ public partial class OsConfigService
+ {
+ public partial class OsConfigServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public OsConfigServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.OsLogin.V1/Google.Cloud.OsLogin.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.OsLogin.V1/Google.Cloud.OsLogin.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..cbea39853d69
--- /dev/null
+++ b/apis/Google.Cloud.OsLogin.V1/Google.Cloud.OsLogin.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.OsLogin.V1
+{
+ public partial class OsLoginService
+ {
+ public partial class OsLoginServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public OsLoginServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..f7c2b4ce7ce8
--- /dev/null
+++ b/apis/Google.Cloud.PubSub.V1/Google.Cloud.PubSub.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,48 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.PubSub.V1
+{
+ public partial class Publisher
+ {
+ public partial class PublisherClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public PublisherClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class Subscriber
+ {
+ public partial class SubscriberClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SubscriberClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.RecaptchaEnterprise.V1/Google.Cloud.RecaptchaEnterprise.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.RecaptchaEnterprise.V1/Google.Cloud.RecaptchaEnterprise.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..c691f7966d0b
--- /dev/null
+++ b/apis/Google.Cloud.RecaptchaEnterprise.V1/Google.Cloud.RecaptchaEnterprise.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.RecaptchaEnterprise.V1
+{
+ public partial class RecaptchaEnterpriseService
+ {
+ public partial class RecaptchaEnterpriseServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public RecaptchaEnterpriseServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Recommender.V1/Google.Cloud.Recommender.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Recommender.V1/Google.Cloud.Recommender.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..51d63112951f
--- /dev/null
+++ b/apis/Google.Cloud.Recommender.V1/Google.Cloud.Recommender.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Recommender.V1
+{
+ public partial class Recommender
+ {
+ public partial class RecommenderClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public RecommenderClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Redis.V1/Google.Cloud.Redis.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Redis.V1/Google.Cloud.Redis.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..fa6c666a324b
--- /dev/null
+++ b/apis/Google.Cloud.Redis.V1/Google.Cloud.Redis.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Redis.V1
+{
+ public partial class CloudRedis
+ {
+ public partial class CloudRedisClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public CloudRedisClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..742065f14ecb
--- /dev/null
+++ b/apis/Google.Cloud.Scheduler.V1/Google.Cloud.Scheduler.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Scheduler.V1
+{
+ public partial class CloudScheduler
+ {
+ public partial class CloudSchedulerClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public CloudSchedulerClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.SecretManager.V1/Google.Cloud.SecretManager.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.SecretManager.V1/Google.Cloud.SecretManager.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..3dcff95e7cde
--- /dev/null
+++ b/apis/Google.Cloud.SecretManager.V1/Google.Cloud.SecretManager.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.SecretManager.V1
+{
+ public partial class SecretManagerService
+ {
+ public partial class SecretManagerServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SecretManagerServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..e155db85ea92
--- /dev/null
+++ b/apis/Google.Cloud.SecurityCenter.V1/Google.Cloud.SecurityCenter.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.SecurityCenter.V1
+{
+ public partial class SecurityCenter
+ {
+ public partial class SecurityCenterClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SecurityCenterClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Spanner.Admin.Database.V1/Google.Cloud.Spanner.Admin.Database.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Spanner.Admin.Database.V1/Google.Cloud.Spanner.Admin.Database.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..d4e803d77c86
--- /dev/null
+++ b/apis/Google.Cloud.Spanner.Admin.Database.V1/Google.Cloud.Spanner.Admin.Database.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Spanner.Admin.Database.V1
+{
+ public partial class DatabaseAdmin
+ {
+ public partial class DatabaseAdminClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public DatabaseAdminClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Spanner.Admin.Instance.V1/Google.Cloud.Spanner.Admin.Instance.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Spanner.Admin.Instance.V1/Google.Cloud.Spanner.Admin.Instance.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..82112a797888
--- /dev/null
+++ b/apis/Google.Cloud.Spanner.Admin.Instance.V1/Google.Cloud.Spanner.Admin.Instance.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Spanner.Admin.Instance.V1
+{
+ public partial class InstanceAdmin
+ {
+ public partial class InstanceAdminClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public InstanceAdminClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..e1b7809d3975
--- /dev/null
+++ b/apis/Google.Cloud.Spanner.V1/Google.Cloud.Spanner.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Spanner.V1
+{
+ public partial class Spanner
+ {
+ public partial class SpannerClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SpannerClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Speech.V1/Google.Cloud.Speech.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Speech.V1/Google.Cloud.Speech.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..4b42abc29a2d
--- /dev/null
+++ b/apis/Google.Cloud.Speech.V1/Google.Cloud.Speech.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Speech.V1
+{
+ public partial class Speech
+ {
+ public partial class SpeechClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public SpeechClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Tasks.V2/Google.Cloud.Tasks.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Tasks.V2/Google.Cloud.Tasks.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..216749df2861
--- /dev/null
+++ b/apis/Google.Cloud.Tasks.V2/Google.Cloud.Tasks.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Tasks.V2
+{
+ public partial class CloudTasks
+ {
+ public partial class CloudTasksClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public CloudTasksClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.TextToSpeech.V1/Google.Cloud.TextToSpeech.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.TextToSpeech.V1/Google.Cloud.TextToSpeech.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..5dd3c0a0af43
--- /dev/null
+++ b/apis/Google.Cloud.TextToSpeech.V1/Google.Cloud.TextToSpeech.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.TextToSpeech.V1
+{
+ public partial class TextToSpeech
+ {
+ public partial class TextToSpeechClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public TextToSpeechClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Trace.V1/Google.Cloud.Trace.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Trace.V1/Google.Cloud.Trace.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..b66ed4604169
--- /dev/null
+++ b/apis/Google.Cloud.Trace.V1/Google.Cloud.Trace.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Trace.V1
+{
+ public partial class TraceService
+ {
+ public partial class TraceServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public TraceServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Trace.V2/Google.Cloud.Trace.V2/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Trace.V2/Google.Cloud.Trace.V2/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..eae57c9cf850
--- /dev/null
+++ b/apis/Google.Cloud.Trace.V2/Google.Cloud.Trace.V2/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Trace.V2
+{
+ public partial class TraceService
+ {
+ public partial class TraceServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public TraceServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Translate.V3/Google.Cloud.Translate.V3/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Translate.V3/Google.Cloud.Translate.V3/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..0d6525f176f0
--- /dev/null
+++ b/apis/Google.Cloud.Translate.V3/Google.Cloud.Translate.V3/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Translate.V3
+{
+ public partial class TranslationService
+ {
+ public partial class TranslationServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public TranslationServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.VideoIntelligence.V1/Google.Cloud.VideoIntelligence.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.VideoIntelligence.V1/Google.Cloud.VideoIntelligence.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..318c9f0a77ac
--- /dev/null
+++ b/apis/Google.Cloud.VideoIntelligence.V1/Google.Cloud.VideoIntelligence.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.VideoIntelligence.V1
+{
+ public partial class VideoIntelligenceService
+ {
+ public partial class VideoIntelligenceServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public VideoIntelligenceServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..743719746032
--- /dev/null
+++ b/apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,48 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.Vision.V1
+{
+ public partial class ImageAnnotator
+ {
+ public partial class ImageAnnotatorClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ImageAnnotatorClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+
+ public partial class ProductSearch
+ {
+ public partial class ProductSearchClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public ProductSearchClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.Cloud.WebRisk.V1/Google.Cloud.WebRisk.V1/GrpcCtorCompatibility.g.cs b/apis/Google.Cloud.WebRisk.V1/Google.Cloud.WebRisk.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..205b58f0afdc
--- /dev/null
+++ b/apis/Google.Cloud.WebRisk.V1/Google.Cloud.WebRisk.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.Cloud.WebRisk.V1
+{
+ public partial class WebRiskService
+ {
+ public partial class WebRiskServiceClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public WebRiskServiceClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Google.LongRunning/Google.LongRunning/GrpcCtorCompatibility.g.cs b/apis/Google.LongRunning/Google.LongRunning/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..0da53622ea8c
--- /dev/null
+++ b/apis/Google.LongRunning/Google.LongRunning/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Google.LongRunning
+{
+ public partial class Operations
+ {
+ public partial class OperationsClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public OperationsClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}
diff --git a/apis/Grafeas.V1/Grafeas.V1/GrpcCtorCompatibility.g.cs b/apis/Grafeas.V1/Grafeas.V1/GrpcCtorCompatibility.g.cs
new file mode 100644
index 000000000000..56bd88653b21
--- /dev/null
+++ b/apis/Grafeas.V1/Grafeas.V1/GrpcCtorCompatibility.g.cs
@@ -0,0 +1,35 @@
+// 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.
+// 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.
+
+// Partial class constructors to preserve compatibility when migrating
+// from gRPC 1.x to 2.x tooling.
+
+using Grpc.Core;
+using System;
+
+namespace Grafeas.V1
+{
+ public partial class Grafeas
+ {
+ public partial class GrafeasClient
+ {
+ /// Creates a new client using a channel.
+ /// The channel to use to make remote calls.
+ [Obsolete("This constructor overload is present for compatibility only, and will be removed in the next major version")]
+ public GrafeasClient(Channel channel) : base(channel)
+ {
+ }
+ }
+ }
+}