/// <summary>Snippet for Resize</summary> public void Resize() { // Snippet: Resize(string, string, string, RegionDisksResizeRequest, CallSettings) // Create client RegionDisksClient regionDisksClient = RegionDisksClient.Create(); // Initialize request argument(s) string project = ""; string region = ""; string disk = ""; RegionDisksResizeRequest regionDisksResizeRequestResource = new RegionDisksResizeRequest(); // Make the request Operation response = regionDisksClient.Resize(project, region, disk, regionDisksResizeRequestResource); // End snippet }
/// <summary>Snippet for Resize</summary> public void ResizeRequestObject() { // Snippet: Resize(ResizeRegionDiskRequest, CallSettings) // Create client RegionDisksClient regionDisksClient = RegionDisksClient.Create(); // Initialize request argument(s) ResizeRegionDiskRequest request = new ResizeRegionDiskRequest { Disk = "", RequestId = "", Region = "", Project = "", RegionDisksResizeRequestResource = new RegionDisksResizeRequest(), }; // Make the request Operation response = regionDisksClient.Resize(request); // End snippet }