/// <summary>Snippet for GetIamPolicy</summary> public void GetIamPolicyRequestObject() { // Snippet: GetIamPolicy(GetIamPolicyRequest, CallSettings) // Create client IdentityAwareProxyAdminServiceClient identityAwareProxyAdminServiceClient = IdentityAwareProxyAdminServiceClient.Create(); // Initialize request argument(s) GetIamPolicyRequest request = new GetIamPolicyRequest { ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), Options = new GetPolicyOptions(), }; // Make the request Policy response = identityAwareProxyAdminServiceClient.GetIamPolicy(request); // End snippet }
/// <summary>Snippet for GetIapSettings</summary> public void GetIapSettingsRequestObject() { // Snippet: GetIapSettings(GetIapSettingsRequest, CallSettings) // Create client IdentityAwareProxyAdminServiceClient identityAwareProxyAdminServiceClient = IdentityAwareProxyAdminServiceClient.Create(); // Initialize request argument(s) GetIapSettingsRequest request = new GetIapSettingsRequest { Name = "", }; // Make the request IapSettings response = identityAwareProxyAdminServiceClient.GetIapSettings(request); // End snippet }
/// <summary>Snippet for UpdateIapSettings</summary> public void UpdateIapSettingsRequestObject() { // Snippet: UpdateIapSettings(UpdateIapSettingsRequest, CallSettings) // Create client IdentityAwareProxyAdminServiceClient identityAwareProxyAdminServiceClient = IdentityAwareProxyAdminServiceClient.Create(); // Initialize request argument(s) UpdateIapSettingsRequest request = new UpdateIapSettingsRequest { IapSettings = new IapSettings(), UpdateMask = new FieldMask(), }; // Make the request IapSettings response = identityAwareProxyAdminServiceClient.UpdateIapSettings(request); // End snippet }
/// <summary>Snippet for TestIamPermissions</summary> public void TestIamPermissionsRequestObject() { // Snippet: TestIamPermissions(TestIamPermissionsRequest, CallSettings) // Create client IdentityAwareProxyAdminServiceClient identityAwareProxyAdminServiceClient = IdentityAwareProxyAdminServiceClient.Create(); // Initialize request argument(s) TestIamPermissionsRequest request = new TestIamPermissionsRequest { ResourceAsResourceName = new UnparsedResourceName("a/wildcard/resource"), Permissions = { "", }, }; // Make the request TestIamPermissionsResponse response = identityAwareProxyAdminServiceClient.TestIamPermissions(request); // End snippet }