CommonProtos/src/DevTools/Source/V1/SourceContext.php
public function setCloudWorkspace($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudWorkspaceSourceContext::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setCloudWorkspace($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudWorkspaceSourceContext::class);
        $this->writeOneof(2, $var);

        return $this;
    }
public function setCloudWorkspace ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ DevTools \ Source \ V1 \ CloudWorkspaceSourceContext :: class ) ; $ this -> writeOneof ( 2 , $ var ) ; return $ this ; }
A SourceContext referring to a snapshot in a cloud workspace.

Generated from protobuf field <code>.google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;</code>
@param \Google\Cloud\DevTools\Source\V1\CloudWorkspaceSourceContext $var
@return $this
A SourceContext referring to a snapshot in a cloud workspace .