Skip to content

Commit 496c8ab

Browse files
gcf-owl-bot[bot]jskeet
authored andcommitted
feat(csharp): Enable REST transport in C#
This change does not affect other languages. PiperOrigin-RevId: 503088494 Source-Link: googleapis/googleapis@fcff1cc Source-Link: googleapis/googleapis-gen@3f6f05e Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQW5hbHl0aWNzLkFkbWluLlYxQWxwaGEvLk93bEJvdC55YW1sIiwiaCI6IjNmNmYwNWVlODFhM2ExNjA2NmVlNmFhNjYyNmMxNTU1Y2NlMmE4YmYifQ== Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQW5hbHl0aWNzLkFkbWluLlYxQmV0YS8uT3dsQm90LnlhbWwiLCJoIjoiM2Y2ZjA1ZWU4MWEzYTE2MDY2ZWU2YWE2NjI2YzE1NTVjY2UyYThiZiJ9 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQW5hbHl0aWNzLkRhdGEuVjFCZXRhLy5Pd2xCb3QueWFtbCIsImgiOiIzZjZmMDVlZTgxYTNhMTYwNjZlZTZhYTY2MjZjMTU1NWNjZTJhOGJmIn0= Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQXBpR2F0ZXdheS5WMS8uT3dsQm90LnlhbWwiLCJoIjoiM2Y2ZjA1ZWU4MWEzYTE2MDY2ZWU2YWE2NjI2YzE1NTVjY2UyYThiZiJ9 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQXBpZ2VlQ29ubmVjdC5WMS8uT3dsQm90LnlhbWwiLCJoIjoiM2Y2ZjA1ZWU4MWEzYTE2MDY2ZWU2YWE2NjI2YzE1NTVjY2UyYThiZiJ9 Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuQXNzdXJlZFdvcmtsb2Fkcy5WMS8uT3dsQm90LnlhbWwiLCJoIjoiM2Y2ZjA1ZWU4MWEzYTE2MDY2ZWU2YWE2NjI2YzE1NTVjY2UyYThiZiJ9 Cop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ed: 42 additions & 42 deletions

File tree

Some content is hidden

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

apis/Google.Analytics.Admin.V1Alpha/Google.Analytics.Admin.V1Alpha/AnalyticsAdminServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,7 @@ public abstract partial class AnalyticsAdminServiceClient
19481948
});
19491949

19501950
/// <summary>The service metadata associated with this client type.</summary>
1951-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AnalyticsAdminService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
1951+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AnalyticsAdminService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
19521952

19531953
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
19541954

apis/Google.Analytics.Admin.V1Beta/Google.Analytics.Admin.V1Beta/AnalyticsAdminServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ public abstract partial class AnalyticsAdminServiceClient
10591059
});
10601060

10611061
/// <summary>The service metadata associated with this client type.</summary>
1062-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AnalyticsAdminService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
1062+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AnalyticsAdminService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
10631063

10641064
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
10651065

apis/Google.Analytics.Data.V1Beta/Google.Analytics.Data.V1Beta/BetaAnalyticsDataClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public abstract partial class BetaAnalyticsDataClient
226226
});
227227

228228
/// <summary>The service metadata associated with this client type.</summary>
229-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(BetaAnalyticsData.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
229+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(BetaAnalyticsData.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
230230

231231
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
232232

apis/Google.Cloud.ApiGateway.V1/Google.Cloud.ApiGateway.V1/ApiGatewayServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ public abstract partial class ApiGatewayServiceClient
582582
});
583583

584584
/// <summary>The service metadata associated with this client type.</summary>
585-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(ApiGatewayService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
585+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(ApiGatewayService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
586586

587587
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
588588

apis/Google.Cloud.ApigeeConnect.V1/Google.Cloud.ApigeeConnect.V1/ConnectionServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public abstract partial class ConnectionServiceClient
154154
});
155155

156156
/// <summary>The service metadata associated with this client type.</summary>
157-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(ConnectionService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
157+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(ConnectionService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
158158

159159
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
160160

apis/Google.Cloud.ApigeeConnect.V1/Google.Cloud.ApigeeConnect.V1/TetherClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public abstract partial class TetherClient
153153
});
154154

155155
/// <summary>The service metadata associated with this client type.</summary>
156-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(Tether.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
156+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(Tether.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
157157

158158
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
159159

apis/Google.Cloud.AssuredWorkloads.V1/Google.Cloud.AssuredWorkloads.V1/AssuredWorkloadsServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public abstract partial class AssuredWorkloadsServiceClient
280280
});
281281

282282
/// <summary>The service metadata associated with this client type.</summary>
283-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AssuredWorkloadsService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
283+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AssuredWorkloadsService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
284284

285285
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
286286

apis/Google.Cloud.AssuredWorkloads.V1Beta1/Google.Cloud.AssuredWorkloads.V1Beta1/AssuredWorkloadsServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public abstract partial class AssuredWorkloadsServiceClient
276276
});
277277

278278
/// <summary>The service metadata associated with this client type.</summary>
279-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AssuredWorkloadsService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
279+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AssuredWorkloadsService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
280280

281281
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
282282

apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/AutoMlClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public abstract partial class AutoMlClient
632632
});
633633

634634
/// <summary>The service metadata associated with this client type.</summary>
635-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AutoMl.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
635+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(AutoMl.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
636636

637637
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
638638

apis/Google.Cloud.AutoML.V1/Google.Cloud.AutoML.V1/PredictionServiceClient.g.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public abstract partial class PredictionServiceClient
180180
});
181181

182182
/// <summary>The service metadata associated with this client type.</summary>
183-
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(PredictionService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc, PackageApiMetadata.ApiMetadata);
183+
public static gaxgrpc::ServiceMetadata ServiceMetadata { get; } = new gaxgrpc::ServiceMetadata(PredictionService.Descriptor, DefaultEndpoint, DefaultScopes, true, gax::ApiTransports.Grpc | gax::ApiTransports.Rest, PackageApiMetadata.ApiMetadata);
184184

185185
internal static gaxgrpc::ChannelPool ChannelPool { get; } = new gaxgrpc::ChannelPool(ServiceMetadata);
186186

0 commit comments

Comments
 (0)