/// <summary>Snippet for TestIamPermissions</summary> public void TestIamPermissions() { // Snippet: TestIamPermissions(string, string, TestPermissionsRequest, CallSettings) // Create client LicensesClient licensesClient = LicensesClient.Create(); // Initialize request argument(s) string project = ""; string resource = ""; TestPermissionsRequest testPermissionsRequestResource = new TestPermissionsRequest(); // Make the request TestPermissionsResponse response = licensesClient.TestIamPermissions(project, resource, testPermissionsRequestResource); // End snippet }
/// <summary>Snippet for TestIamPermissions</summary> public void TestIamPermissionsRequestObject() { // Snippet: TestIamPermissions(TestIamPermissionsLicenseRequest, CallSettings) // Create client LicensesClient licensesClient = LicensesClient.Create(); // Initialize request argument(s) TestIamPermissionsLicenseRequest request = new TestIamPermissionsLicenseRequest { Resource = "", Project = "", TestPermissionsRequestResource = new TestPermissionsRequest(), }; // Make the request TestPermissionsResponse response = licensesClient.TestIamPermissions(request); // End snippet }