import * as React from "react";
import type { IconProps, IconMetadata, IconComponent } from "../../types";

export const GoogleCloud: IconComponent = React.forwardRef<
  SVGSVGElement,
  IconProps
>(function GoogleCloud(
  {
    color = "currentColor",
    fill,
    size = 24,
    strokeWidth,
    strokeLinecap,
    strokeLinejoin,
    strokeDasharray,
    opacity,
    className,
    ...props
  },
  forwardedRef,
) {
  return (
    <svg
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      className={className}
      strokeWidth={strokeWidth}
      strokeLinecap={strokeLinecap}
      strokeLinejoin={strokeLinejoin}
      strokeDasharray={strokeDasharray}
      opacity={opacity}
      {...props}
      ref={forwardedRef}
    >
      <path
        d="M15.9611 7.67047L18.0473 5.58426L18.1864 4.70582C14.3847 1.24898 8.34152 1.64095 4.9144 5.52369C3.96256 6.6021 3.25635 7.94656 2.87975 9.3349L3.62694 9.22962L7.79927 8.5415L8.1214 8.21215C9.97736 6.17385 13.1154 5.89963 15.2584 7.63391L15.9611 7.67047Z"
        fill="#ea4335"
      />
      <path
        d="M21.0192 9.2736C20.5397 7.50773 19.5552 5.92025 18.1864 4.70592L15.2584 7.63391C15.8686 8.13252 16.3577 8.76319 16.6886 9.47835C17.0196 10.1935 17.1838 10.9745 17.1689 11.7624V12.2821C18.608 12.2821 19.7749 13.4488 19.7749 14.888C19.7749 16.3272 18.6081 17.4647 17.1689 17.4647H11.9498L11.4373 18.021V21.1466L11.9498 21.637H17.1688C20.9123 21.6662 23.9707 18.6845 23.9998 14.9411C24.0085 13.8239 23.741 12.7219 23.2209 11.7332C22.7009 10.7444 21.9446 9.89949 21.0192 9.2736Z"
        fill="#4285f4"
      />
      <path
        d="M6.73782 21.637H11.9497V17.4646H6.73782C6.36888 17.4646 6.00432 17.3847 5.66917 17.2304L4.92977 17.4573L2.82893 19.5435L2.64593 20.2536C3.82408 21.1432 5.26155 21.6434 6.73782 21.637Z"
        fill="#34a853"
      />
      <path
        d="M6.73782 8.10232C2.9944 8.12472 -0.0221895 11.1776 0.000122983 14.9211C0.00627737 15.9527 0.247809 16.9692 0.706316 17.8933C1.16482 18.8174 1.82821 19.6247 2.64593 20.2536L5.66917 17.2305C4.35761 16.6379 3.77468 15.0944 4.36727 13.7828C4.95977 12.4712 6.50345 11.8883 7.81492 12.4808C8.39286 12.7419 8.85574 13.2048 9.11682 13.7828L12.1401 10.7596C11.5055 9.93 10.6877 9.25847 9.75052 8.7975C8.81334 8.33652 7.78223 8.09859 6.73782 8.10232Z"
        fill="#fbbc05"
      />
    </svg>
  );
});

GoogleCloud.displayName = "GoogleCloud";

GoogleCloud.metadata = {
  name: "GoogleCloud",
  category: "icon/google",
  tags: ["google", "cloud", "icon"],
  description: "GoogleCloud icon from icon/google category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default GoogleCloud;
