Cal. Lab. Code § 1154
It shall be an unfair labor practice for a labor organization or its agents to do any of the following:
(a) To restrain or coerce:
(d) To do either of the following: (i) To engage in, or to induce or encourage any individual employed by any person to engage in, a strike or a refusal in the course of his employment to use, manufacture, process, transport, or otherwise handle or work on any goods, articles, materials, or commodities, or to perform any services; or (ii) to threaten, coerce, or restrain any person; where in either case (i) or (ii) an object thereof is any of the following:
(4) Forcing or requiring any employer to assign particular work to employees in a particular labor organization or in a particular trade, craft, or class, unless such employer is failing to conform to an order or certification of the board determining the bargaining representative for employees performing such work.
Nothing contained in this subdivision (d) shall be construed to prohibit publicity, including picketing for the purpose of truthfully advising the public, including consumers, that a product or products or ingredients thereof are produced by an agricultural employer with whom the labor organization has a primary dispute and are distributed by another employer, as long as such publicity does not have an effect of inducing any individual employed by any person other than the primary employer in the course of his employment to refuse to pick up, deliver, or transport any goods, or not to perform any services at the establishment of the employer engaged in such distribution, and as long as such publicity does not have the effect of requesting the public to cease patronizing such other employer.
However, publicity which includes picketing and has the effect of requesting the public to cease patronizing such other employer, shall be permitted only if the labor organization is currently certified as the representative of the primary employer’s employees.
Further, publicity other than picketing, but including peaceful distribution of literature which has the effect of requesting the public to cease patronizing such other employer, shall be permitted only if the labor organization has not lost an election for the primary employer’s employees within the preceding 12-month period, and no other labor organization is currently certified as the representative of the primary employer’s employees.
Nothing contained in this subdivision (d) shall be construed to prohibit publicity, including picketing, which may not be prohibited under the United States Constitution or the California Constitution.
Nor shall anything in this subdivision (d) be construed to apply or be applicable to any labor organization in its representation of workers who are not agricultural employees. Any such labor organization shall continue to be governed in its intrastate activities for nonagricultural workers by Section 923 and applicable judicial precedents.
(g) To picket or cause to be picketed, or threaten to picket or cause to be picketed, any employer where an object thereof is either forcing or requiring an employer to recognize or bargain with a labor organization as the representative of his employees, or forcing or requiring the employees of an employer to accept or select such labor organization as their collective-bargaining representative, unless such labor organization is currently certified as the representative of such employees, in any of the following cases:
(2) Where within the preceding 12 months a valid election under Chapter 5 (commencing with Section 1156) of this part has been conducted.
Nothing in this subdivision shall be construed to prohibit any picketing or other publicity for the purpose of truthfully advising the public (including consumers) that an employer does not employ members of, or have a contract with, a labor organization, unless an effect of such picketing is to induce any individual employed by any other person in the course of his employment, not to pick up, deliver, or transport any goods or not to perform any services.
Nothing in this subdivision (g) shall be construed to permit any act which would otherwise be an unfair labor practice under this section.