code: @BetaApi
    public final Operation insertFirewall(String project, Firewall firewallResource) {
  
      InsertFirewallHttpRequest request =
          InsertFirewallHttpRequest.newBuilder()
              .setProject(project)
              .setFirewallResource(firewallResource)
              .build();
      return insertFirewall(request);
    }
docs: Creates a firewall rule in the specified project using the data included in the request.
  
  <p>Sample code:
  
  <pre><code>
  try (FirewallClient firewallClient = FirewallClient.create()) {
  ProjectName project = ProjectName.of("[PROJECT]");
  Firewall firewallResource = Firewall.newBuilder().build();
  Operation response = firewallClient.insertFirewall(project.toString(), firewallResource);
  }
  </code></pre>
  
  @param project Project ID for this request.
  @param firewallResource Represents a Firewall resource.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails