@@ -272,6 +272,13 @@ public static bool TryParse(string locationName, out LocationName result)
272
272
}
273
273
}
274
274
275
+ /// <summary>Formats the IDs into the string representation of the <see cref="LocationName"/>.</summary>
276
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
277
+ /// <param name="locationId">The <c>location</c> ID. Must not be <c>null</c>.</param>
278
+ /// <returns>The string representation of the <see cref="LocationName"/>.</returns>
279
+ public static string Format ( string projectId , string locationId ) =>
280
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( locationId , nameof ( locationId ) ) ) ;
281
+
275
282
/// <summary>
276
283
/// Constructs a new instance of the <see cref="LocationName"/> resource name class
277
284
/// from its component parts.
@@ -364,6 +371,14 @@ public static bool TryParse(string locationDataSourceName, out LocationDataSourc
364
371
}
365
372
}
366
373
374
+ /// <summary>Formats the IDs into the string representation of the <see cref="LocationDataSourceName"/>.</summary>
375
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
376
+ /// <param name="locationId">The <c>location</c> ID. Must not be <c>null</c>.</param>
377
+ /// <param name="dataSourceId">The <c>dataSource</c> ID. Must not be <c>null</c>.</param>
378
+ /// <returns>The string representation of the <see cref="LocationDataSourceName"/>.</returns>
379
+ public static string Format ( string projectId , string locationId , string dataSourceId ) =>
380
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( locationId , nameof ( locationId ) ) , gax ::GaxPreconditions . CheckNotNull ( dataSourceId , nameof ( dataSourceId ) ) ) ;
381
+
367
382
/// <summary>
368
383
/// Constructs a new instance of the <see cref="LocationDataSourceName"/> resource name class
369
384
/// from its component parts.
@@ -463,6 +478,15 @@ public static bool TryParse(string locationRunName, out LocationRunName result)
463
478
}
464
479
}
465
480
481
+ /// <summary>Formats the IDs into the string representation of the <see cref="LocationRunName"/>.</summary>
482
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
483
+ /// <param name="locationId">The <c>location</c> ID. Must not be <c>null</c>.</param>
484
+ /// <param name="transferConfigId">The <c>transferConfig</c> ID. Must not be <c>null</c>.</param>
485
+ /// <param name="runId">The <c>run</c> ID. Must not be <c>null</c>.</param>
486
+ /// <returns>The string representation of the <see cref="LocationRunName"/>.</returns>
487
+ public static string Format ( string projectId , string locationId , string transferConfigId , string runId ) =>
488
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( locationId , nameof ( locationId ) ) , gax ::GaxPreconditions . CheckNotNull ( transferConfigId , nameof ( transferConfigId ) ) , gax ::GaxPreconditions . CheckNotNull ( runId , nameof ( runId ) ) ) ;
489
+
466
490
/// <summary>
467
491
/// Constructs a new instance of the <see cref="LocationRunName"/> resource name class
468
492
/// from its component parts.
@@ -569,6 +593,14 @@ public static bool TryParse(string locationTransferConfigName, out LocationTrans
569
593
}
570
594
}
571
595
596
+ /// <summary>Formats the IDs into the string representation of the <see cref="LocationTransferConfigName"/>.</summary>
597
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
598
+ /// <param name="locationId">The <c>location</c> ID. Must not be <c>null</c>.</param>
599
+ /// <param name="transferConfigId">The <c>transferConfig</c> ID. Must not be <c>null</c>.</param>
600
+ /// <returns>The string representation of the <see cref="LocationTransferConfigName"/>.</returns>
601
+ public static string Format ( string projectId , string locationId , string transferConfigId ) =>
602
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( locationId , nameof ( locationId ) ) , gax ::GaxPreconditions . CheckNotNull ( transferConfigId , nameof ( transferConfigId ) ) ) ;
603
+
572
604
/// <summary>
573
605
/// Constructs a new instance of the <see cref="LocationTransferConfigName"/> resource name class
574
606
/// from its component parts.
@@ -872,6 +904,13 @@ public static bool TryParse(string projectDataSourceName, out ProjectDataSourceN
872
904
}
873
905
}
874
906
907
+ /// <summary>Formats the IDs into the string representation of the <see cref="ProjectDataSourceName"/>.</summary>
908
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
909
+ /// <param name="dataSourceId">The <c>dataSource</c> ID. Must not be <c>null</c>.</param>
910
+ /// <returns>The string representation of the <see cref="ProjectDataSourceName"/>.</returns>
911
+ public static string Format ( string projectId , string dataSourceId ) =>
912
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( dataSourceId , nameof ( dataSourceId ) ) ) ;
913
+
875
914
/// <summary>
876
915
/// Constructs a new instance of the <see cref="ProjectDataSourceName"/> resource name class
877
916
/// from its component parts.
@@ -964,6 +1003,14 @@ public static bool TryParse(string projectRunName, out ProjectRunName result)
964
1003
}
965
1004
}
966
1005
1006
+ /// <summary>Formats the IDs into the string representation of the <see cref="ProjectRunName"/>.</summary>
1007
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
1008
+ /// <param name="transferConfigId">The <c>transferConfig</c> ID. Must not be <c>null</c>.</param>
1009
+ /// <param name="runId">The <c>run</c> ID. Must not be <c>null</c>.</param>
1010
+ /// <returns>The string representation of the <see cref="ProjectRunName"/>.</returns>
1011
+ public static string Format ( string projectId , string transferConfigId , string runId ) =>
1012
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( transferConfigId , nameof ( transferConfigId ) ) , gax ::GaxPreconditions . CheckNotNull ( runId , nameof ( runId ) ) ) ;
1013
+
967
1014
/// <summary>
968
1015
/// Constructs a new instance of the <see cref="ProjectRunName"/> resource name class
969
1016
/// from its component parts.
@@ -1063,6 +1110,13 @@ public static bool TryParse(string projectTransferConfigName, out ProjectTransfe
1063
1110
}
1064
1111
}
1065
1112
1113
+ /// <summary>Formats the IDs into the string representation of the <see cref="ProjectTransferConfigName"/>.</summary>
1114
+ /// <param name="projectId">The <c>project</c> ID. Must not be <c>null</c>.</param>
1115
+ /// <param name="transferConfigId">The <c>transferConfig</c> ID. Must not be <c>null</c>.</param>
1116
+ /// <returns>The string representation of the <see cref="ProjectTransferConfigName"/>.</returns>
1117
+ public static string Format ( string projectId , string transferConfigId ) =>
1118
+ s_template . Expand ( gax ::GaxPreconditions . CheckNotNull ( projectId , nameof ( projectId ) ) , gax ::GaxPreconditions . CheckNotNull ( transferConfigId , nameof ( transferConfigId ) ) ) ;
1119
+
1066
1120
/// <summary>
1067
1121
/// Constructs a new instance of the <see cref="ProjectTransferConfigName"/> resource name class
1068
1122
/// from its component parts.
0 commit comments