bindings = $bindings; } /** * @return Binding[] */ public function getBindings() { return $this->bindings; } /** * Flatten Policy to create a backward compatible wire-format. Deprecated. Use * 'policy' to specify the etag. * * @param string $etag */ public function setEtag($etag) { $this->etag = $etag; } /** * @return string */ public function getEtag() { return $this->etag; } /** * REQUIRED: The complete policy to be applied to the 'resource'. The size of * the policy is limited to a few 10s of KB. An empty policy is in general a * valid policy but certain services (like Projects) might reject them. * * @param Policy $policy */ public function setPolicy(Policy $policy) { $this->policy = $policy; } /** * @return Policy */ public function getPolicy() { return $this->policy; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ZoneSetPolicyRequest::class, 'Google_Service_Compute_ZoneSetPolicyRequest');